function InstallStorage::getComponentFolder
Same name and namespace in other branches
- 11.x 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.
File
-
core/
lib/ Drupal/ Core/ Config/ InstallStorage.php, line 250
Class
- InstallStorage
- Storage used by the Drupal installer.
Namespace
Drupal\Core\ConfigCode
protected function getComponentFolder(Extension $extension) {
return $extension->getPath() . '/' . $this->getCollectionDirectory();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.