protected ConfigInstaller::drupalGetPath($type, $name)
Wrapper for drupal_get_path().
Parameters
$type: The type of the item; one of 'core', 'profile', 'module', 'theme', or 'theme_engine'.
$name: The name of the item for which the path is requested. Ignored for $type 'core'.
Return value
string The path to the requested item or an empty string if the item is not found.
File
- core/lib/Drupal/Core/Config/ConfigInstaller.php, line 634
Class
Namespace
Drupal\Core\Config
Code
protected function drupalGetPath($type, $name) { return drupal_get_path($type, $name); }
Please login to continue.