protected function InstallStorage::getComponentFolder

Get folder inside each component that contains the files.

Parameters

string $type: Component type: 'module' | 'theme' | 'profile'

string $name: Component name.

Return value

string The configuration folder name for this component.

1 call to InstallStorage::getComponentFolder()
InstallStorage::getComponentNames in drupal/core/lib/Drupal/Core/Config/InstallStorage.php
Get all configuration names and folders for a list of modules or themes.
1 method overrides InstallStorage::getComponentFolder()

File

drupal/core/lib/Drupal/Core/Config/InstallStorage.php, line 158
Contains Drupal\Core\Config\InstallStorage.

Class

InstallStorage
Storage controller used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

protected function getComponentFolder($type, $name) {
  return drupal_get_path($type, $name) . '/config';
}