protected function Section::contextHandler in Drupal 10
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::contextHandler()
Wraps the context handler.
Return value
\Drupal\Core\Plugin\Context\ContextHandlerInterface The context handler.
1 call to Section::contextHandler()
- Section::getLayout in core/
modules/ layout_builder/ src/ Section.php - Gets the layout plugin for this section.
File
- core/
modules/ layout_builder/ src/ Section.php, line 444
Class
- Section
- Provides a domain object for layout sections.
Namespace
Drupal\layout_builderCode
protected function contextHandler() {
return \Drupal::service('context.handler');
}