You are here

protected function TestFilteredPluginManager::contextHandler in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php \Drupal\Tests\Core\Plugin\TestFilteredPluginManager::contextHandler()
  2. 9 core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php \Drupal\Tests\Core\Plugin\TestFilteredPluginManager::contextHandler()

Wraps the context handler.

Return value

\Drupal\Core\Plugin\Context\ContextHandlerInterface

Overrides ContextAwarePluginManagerTrait::contextHandler

File

core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php, line 101

Class

TestFilteredPluginManager
Class that allows testing the trait.

Namespace

Drupal\Tests\Core\Plugin

Code

protected function contextHandler() {
  return $this->contextHandler;
}