You are here

protected function ContentModelUpdater::getConfigStorage in Panopoly 8.2

Gets the active config storage.

Return value

\Drupal\Core\Config\StorageInterface The active config storage.

File

modules/panopoly/panopoly_media/src/Update/ContentModelUpdater.php, line 1185

Class

ContentModelUpdater
Applies changes to media content model from schema versions 8204 to 8205.

Namespace

Drupal\panopoly_media\Update

Code

protected function getConfigStorage() {
  if ($this->configStorage === NULL) {
    $this->configStorage = \Drupal::service('config.storage');
  }
  return $this->configStorage;
}