function ConfigInstaller::getDefaultConfigDirectory
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::getDefaultConfigDirectory()
- 8.9.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::getDefaultConfigDirectory()
- 11.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::getDefaultConfigDirectory()
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.
2 calls to ConfigInstaller::getDefaultConfigDirectory()
- ConfigInstaller::checkConfigurationToInstall in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php - ConfigInstaller::installDefaultConfig in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php, line 712
Class
Namespace
Drupal\Core\ConfigCode
protected function getDefaultConfigDirectory($type, $name) {
return $this->extensionPathResolver
->getPath($type, $name) . '/' . InstallStorage::CONFIG_INSTALL_DIRECTORY;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.