protected function TestRegistry::getPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\TestRegistry::getPath()
Wraps drupal_get_path().
Parameters
string $module: The name of the item for which the path is requested.
Return value
string
Overrides Registry::getPath
File
- core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryTest.php, line 153 - Contains \Drupal\Tests\Core\Theme\RegistryTest.
Class
Namespace
Drupal\Tests\Core\ThemeCode
protected function getPath($module) {
if ($module == 'theme_test') {
return 'core/modules/system/tests/modules/theme_test';
}
}