public DatabaseStorage::__construct(Connection $connection, $table, array $options = array(), $collection = StorageInterface::DEFAULT_COLLECTION)
Constructs a new DatabaseStorage.
\Drupal\Core\Database\Connection $connection: A Database connection to use for reading and writing configuration data.
string $table: A database table name to store configuration data in.
array $options: (optional) Any additional database connection options to use in queries.
string $collection: (optional) The collection to store configuration in. Defaults to the default collection.
public function __construct(Connection $connection, $table, array $options = array(), $collection = StorageInterface::DEFAULT_COLLECTION) { $this->connection = $connection; $this->table = $table; $this->options = $options; $this->collection = $collection; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!DatabaseStorage.php/function/DatabaseStorage::__construct/8.1.x