protected DrupalKernel::getConfigStorage()
Returns the active configuration storage to use during building the container.
\Drupal\Core\Config\StorageInterface
protected function getConfigStorage() { if (!isset($this->configStorage)) { // The active configuration storage may not exist yet; e.g., in the early // installer. Catch the exception thrown by config_get_config_directory(). try { $this->configStorage = BootstrapConfigStorageFactory::get($this->classLoader); } catch (\Exception $e) { $this->configStorage = new NullStorage(); } } return $this->configStorage; }
© 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!DrupalKernel.php/function/DrupalKernel::getConfigStorage/8.1.x