You are here

protected function Section::contextHandler in Drupal 9

Wraps the context handler.

Return value

\Drupal\Core\Plugin\Context\ContextHandlerInterface The context handler.

File

core/modules/layout_builder/src/Section.php, line 438

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

protected function contextHandler() {
  return \Drupal::service('context.handler');
}