StringDatabaseStorage::__construct

public StringDatabaseStorage::__construct(Connection $connection, array $options = array())

Constructs a new StringDatabaseStorage class.

Parameters

\Drupal\Core\Database\Connection $connection: A Database connection to use for reading and writing configuration data.

array $options: (optional) Any additional database connection options to use in queries.

File

core/modules/locale/src/StringDatabaseStorage.php, line 34

Class

StringDatabaseStorage
Defines a class to store localized strings in the database.

Namespace

Drupal\locale

Code

public function __construct(Connection $connection, array $options = array()) {
  $this->connection = $connection;
  $this->options = $options;
}
doc_Drupal
2016-10-29 09:45:10
Comments
Leave a Comment

Please login to continue.