InstallStorage::__construct

public InstallStorage::__construct($directory = self::CONFIG_INSTALL_DIRECTORY, $collection = StorageInterface::DEFAULT_COLLECTION) Constructs an InstallStorage object. Parameters string $directory: The directory to scan in each extension to scan for files. Defaults to 'config/install'. string $collection: (optional) The collection to store configuration in. Defaults to the default collection. Overrides FileStorage::__construct File core/lib/Drupal/Core/Config/InstallStorage.php, line 60 Cl

InstallStorage::write

public InstallStorage::write($name, array $data) Overrides Drupal\Core\Config\FileStorage::write(). Throws \Drupal\Core\Config\StorageException Overrides FileStorage::write File core/lib/Drupal/Core/Config/InstallStorage.php, line 103 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code public function write($name, array $data) { throw new StorageException('Write operation is not allowed.'); }

InstallStorage::reset

public InstallStorage::reset() Resets the static cache. File core/lib/Drupal/Core/Config/InstallStorage.php, line 272 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code public function reset() { $this->folders = NULL; }

InstallStorage::rename

public InstallStorage::rename($name, $new_name) Overrides Drupal\Core\Config\FileStorage::rename(). Throws \Drupal\Core\Config\StorageException Overrides FileStorage::rename File core/lib/Drupal/Core/Config/InstallStorage.php, line 121 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code public function rename($name, $new_name) { throw new StorageException('Rename operation is not allowed.'); }

InstallStorage::listAll

public InstallStorage::listAll($prefix = '') Gets configuration object names starting with a given prefix. Given the following configuration objects: node.type.article node.type.page Passing the prefix 'node.type.' will return an array containing the above names. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration object names that exist are returned. Return value array An array containing matching configuration object names. Overrides FileStorage::

InstallStorage::getFilePath

public InstallStorage::getFilePath($name) Overrides Drupal\Core\Config\FileStorage::getFilePath(). Returns the path to the configuration file. Determines the owner and path to the default configuration file of a requested config object name located in the installation profile, a module, or a theme (in this order). @todo Improve this when figuring out how we want to handle configuration in installation profiles. For instance, a config object actually has to be searched in the profile first (wher

InstallStorage::getCoreNames

public InstallStorage::getCoreNames() Get all configuration names and folders for Drupal core. Return value array Folders indexed by configuration name. File core/lib/Drupal/Core/Config/InstallStorage.php, line 216 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code public function getCoreNames() { $extension = '.' . $this->getFileExtension(); $pattern = '/' . preg_quote($extension, '/') . '$/'; $folders = array(); $directory = $this

InstallStorage::getCoreFolder

protected InstallStorage::getCoreFolder() Get folder inside Drupal core that contains the files. Return value string The configuration folder name for core. File core/lib/Drupal/Core/Config/InstallStorage.php, line 256 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code protected function getCoreFolder() { return drupal_get_path('core', 'core') . '/' . $this->getCollectionDirectory(); }

InstallStorage::getComponentNames

public InstallStorage::getComponentNames(array $list) Get all configuration names and folders for a list of modules or themes. Parameters \Drupal\Core\Extension\Extension[] $list: An associative array of Extension objects, keyed by extension name. Return value array Folders indexed by configuration name. File core/lib/Drupal/Core/Config/InstallStorage.php, line 185 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code public function getComponen

InstallStorage::getComponentFolder

protected InstallStorage::getComponentFolder(Extension $extension) Get folder inside each component that contains the files. Parameters \Drupal\Core\Extension\Extension $extension: The Extension object for the component. Return value string The configuration folder name for this component. File core/lib/Drupal/Core/Config/InstallStorage.php, line 246 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code protected function getComponentFolder(Exte