config_get_config_directory
function config_get_config_directory
config_get_config_directory($type)
Returns the path of a configuration directory.
Configuration directories are configured using $config_directories in settings.php.
Parameters
string $type: The type of config directory to return. Drupal core provides the CONFIG_SYNC_DIRECTORY constant to access the sync directory.
Return value
string The configuration directory path.
Throws
\Exception
File
- core/includes/bootstrap.inc, line 145<