SectionComponentBuildRenderArrayEvent::$contexts

Same name in other branches
  1. 9 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::contexts
  2. 8.9.x core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::contexts
  3. 10 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::contexts

The available contexts.

Type: \Drupal\Core\Plugin\Context\ContextInterface[]

File

core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php, line 34

Class

SectionComponentBuildRenderArrayEvent
Event fired when a section component's render array is being built.

Namespace

Drupal\layout_builder\Event

Code

protected $contexts;

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