You are here

protected function ConfigHelper::getAllFolders in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::getAllFolders()
  2. 8.2 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::getAllFolders()
  3. 8.3 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::getAllFolders()
  4. 8.4 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::getAllFolders()

Returns a map of all config object names and their folders.

Return value

array An array mapping config object names with directories.

Overrides InstallStorage::getAllFolders

File

src/ConfigHelper.php, line 151

Class

ConfigHelper
A facade to assist with manipulating default config.

Namespace

Drupal\lightning_core

Code

protected function getAllFolders() {
  return $this
    ->getComponentNames([
    $this->extension
      ->getName() => $this->extension,
  ]);
}