protected function ContentModelUpdater::getConfigFileStorage in Panopoly 8.2
Gets the config file storage.
Return value
\Drupal\Core\Config\StorageInterface The config file storage.
File
- modules/
panopoly/ panopoly_media/ src/ Update/ ContentModelUpdater.php, line 1198
Class
- ContentModelUpdater
- Applies changes to media content model from schema versions 8204 to 8205.
Namespace
Drupal\panopoly_media\UpdateCode
protected function getConfigFileStorage() {
// @todo Update this storage directory.
// As config updates over time, in order to run this update it will become
// necessary to move this config in its current state to a different
// location and utilize it from there.
if ($this->configFileStorage === NULL) {
$configPath = drupal_get_path('module', 'panopoly_media') . '/config/update_8205';
$this->configFileStorage = new FileStorage($configPath);
}
return $this->configFileStorage;
}