W3cubDocs

/Drupal 8

protected function 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 612

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

protected function getDefaultConfigDirectory($type, $name) {
  return $this->drupalGetPath($type, $name) . '/' . InstallStorage::CONFIG_INSTALL_DIRECTORY;
}

© 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!ConfigInstaller.php/function/ConfigInstaller::getDefaultConfigDirectory/8.1.x