protected function ContextAwarePluginBase::contextHandler in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php \Drupal\Core\Plugin\ContextAwarePluginBase::contextHandler()
Wraps the context handler.
Return value
\Drupal\Core\Plugin\Context\ContextHandlerInterface
File
- core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginBase.php, line 128 - Contains \Drupal\Core\Plugin\ContextAwarePluginBase.
Class
- ContextAwarePluginBase
- Base class for plugins that are context aware.
Namespace
Drupal\Core\PluginCode
protected function contextHandler() {
return \Drupal::service('context.handler');
}