function 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;
}

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