protected function InstallStorage::getComponentFolder in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::getComponentFolder()
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.
1 call to InstallStorage::getComponentFolder()
- InstallStorage::getComponentNames in core/
lib/ Drupal/ Core/ Config/ InstallStorage.php - Get all configuration names and folders for a list of modules or themes.
File
- core/
lib/ Drupal/ Core/ Config/ InstallStorage.php, line 250 - Contains \Drupal\Core\Config\InstallStorage.
Class
- InstallStorage
- Storage used by the Drupal installer.
Namespace
Drupal\Core\ConfigCode
protected function getComponentFolder(Extension $extension) {
return $extension
->getPath() . '/' . $this
->getCollectionDirectory();
}