You are here

public function TestPluginDependency::setThemeHandler in Drupal 9

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

File

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

Class

TestPluginDependency

Namespace

Drupal\Tests\Core\Plugin

Code

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