public function StringDatabaseStorage::__construct

Constructs a new StringStorage controller.

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

drupal/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php, line 42
Definition of Drupal\locale\StringDatabaseStorage.

Class

StringDatabaseStorage
Defines the locale string class.

Namespace

Drupal\locale

Code

public function __construct(Connection $connection, array $options = array()) {
  $this->connection = $connection;
  $this->options = $options;
}