BootstrapConfigStorageFactory::getDatabaseStorage

public static BootstrapConfigStorageFactory::getDatabaseStorage()

Returns a Database configuration storage implementation.

Return value

\Drupal\Core\Config\DatabaseStorage

File

core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php, line 39

Class

BootstrapConfigStorageFactory
Defines a factory for retrieving the config storage used pre-kernel.

Namespace

Drupal\Core\Config

Code

public static function getDatabaseStorage() {
  return new DatabaseStorage(Database::getConnection(), 'config');
}
doc_Drupal
2016-10-29 08:48:40
Comments
Leave a Comment

Please login to continue.