public function SectionComponentBuildRenderArrayEvent::getContexts in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getContexts()
- 10 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getContexts()
Get the available contexts.
Return value
array|\Drupal\Core\Plugin\Context\ContextInterface[] The available contexts.
File
- core/
modules/ layout_builder/ src/ Event/ SectionComponentBuildRenderArrayEvent.php, line 89
Class
- SectionComponentBuildRenderArrayEvent
- Event fired when a section component's render array is being built.
Namespace
Drupal\layout_builder\EventCode
public function getContexts() {
return $this->contexts;
}