You are here

public function TestPluginDependency::setThemeHandler in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php \Drupal\Tests\Core\Plugin\TestPluginDependency::setThemeHandler()

File

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

Class

TestPluginDependency

Namespace

Drupal\Tests\Core\Plugin

Code

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