Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SectionComponentBuildRenderArrayEvent.php

function 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 94

Class

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

Namespace

Drupal\layout_builder\Event

Code

public function getContexts() {
    return $this->contexts;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal