You are here

protected function TestRegistry::init in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

TestRegistry

Namespace

Drupal\Tests\Core\Theme

Code

protected function init($theme_name = NULL) {
}