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 246

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

protected function getComponentFolder(Extension $extension) {
  return $extension->getPath() . '/' . $this->getCollectionDirectory();
}
doc_Drupal
2016-10-29 09:20:56
Comments
Leave a Comment

Please login to continue.