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

Breadcrumb

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

function BlockComponentRenderArray::getSubscribedEvents

Overrides EventSubscriberInterface::getSubscribedEvents

File

core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php, line 50

Class

BlockComponentRenderArray
Builds render arrays and handles access for all block components.

Namespace

Drupal\layout_builder\EventSubscriber

Code

public static function getSubscribedEvents() : array {
    $events[LayoutBuilderEvents::SECTION_COMPONENT_BUILD_RENDER_ARRAY] = [
        'onBuildRender',
        100,
    ];
    return $events;
}

API Navigation

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