protected function Registry::getPath in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::getPath()
Wraps drupal_get_path().
Parameters
string $module: The name of the item for which the path is requested.
Return value
string
1 call to Registry::getPath()
- Registry::build in core/
lib/ Drupal/ Core/ Theme/ Registry.php - Builds the theme registry cache.
File
- core/
lib/ Drupal/ Core/ Theme/ Registry.php, line 839
Class
- Registry
- Defines the theme registry service.
Namespace
Drupal\Core\ThemeCode
protected function getPath($module) {
return drupal_get_path('module', $module);
}