ConfigInstaller::drupalGetPath

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

ConfigInstaller

Namespace

Drupal\Core\Config

Code

protected function drupalGetPath($type, $name) {
  return drupal_get_path($type, $name);
}
doc_Drupal
2016-10-29 08:53:52
Comments
Leave a Comment

Please login to continue.