protected function 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 247
Class
- InstallStorage
- Storage used by the Drupal installer.
Namespace
Drupal\Core\ConfigCode
protected function getComponentFolder(Extension $extension) { return $extension->getPath() . '/' . $this->getCollectionDirectory(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!InstallStorage.php/function/InstallStorage::getComponentFolder/8.1.x