Registry::getPath

protected Registry::getPath($module)

Wraps drupal_get_path().

Parameters

string $module: The name of the item for which the path is requested.

Return value

string

File

core/lib/Drupal/Core/Theme/Registry.php, line 771

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

protected function getPath($module) {
  return drupal_get_path('module', $module);
}
doc_Drupal
2016-10-29 09:37:15
Comments
Leave a Comment

Please login to continue.