protected function TestFilteredPluginManager::contextHandler in Drupal 8
Same name and namespace in other branches
- 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\PluginCode
protected function contextHandler() {
return $this->contextHandler;
}