protected function TestRegistry::init in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\TestRegistry::init()
Initializes a theme with a certain name.
This function does to much magic, so it should be replaced by another services which holds the current active theme information.
Parameters
string $theme_name: (optional) The name of the theme for which to construct the registry.
Overrides Registry::init
File
- core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryTest.php, line 150 - Contains \Drupal\Tests\Core\Theme\RegistryTest.
Class
Namespace
Drupal\Tests\Core\ThemeCode
protected function init($theme_name = NULL) {
}