ConfigInstaller::getDefaultConfigDirectory

protected ConfigInstaller::getDefaultConfigDirectory($type, $name)

Gets an extension's default configuration directory.

Parameters

string $type: Type of extension to install.

string $name: Name of extension to install.

Return value

string The extension's default configuration directory.

File

core/lib/Drupal/Core/Config/ConfigInstaller.php, line 616

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

protected function getDefaultConfigDirectory($type, $name) {
  return $this->drupalGetPath($type, $name) . '/' . InstallStorage::CONFIG_INSTALL_DIRECTORY;
}
doc_Drupal
2016-10-29 08:53:54
Comments
Leave a Comment

Please login to continue.