function TestPluginDependency::setThemeHandler

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php \Drupal\Tests\Core\Plugin\TestPluginDependency::setThemeHandler()
  2. 8.9.x core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php \Drupal\Tests\Core\Plugin\TestPluginDependency::setThemeHandler()
  3. 11.x core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php \Drupal\Tests\Core\Plugin\TestPluginDependency::setThemeHandler()

File

core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php, line 188

Class

TestPluginDependency

Namespace

Drupal\Tests\Core\Plugin

Code

public function setThemeHandler(ThemeHandlerInterface $theme_handler) {
    $this->themeHandler = $theme_handler;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.