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

Breadcrumb

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

function SetInlineBlockDependency::getSubscribedEvents

Overrides EventSubscriberInterface::getSubscribedEvents

File

core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php, line 82

Class

SetInlineBlockDependency
An event subscriber that returns an access dependency for inline blocks.

Namespace

Drupal\layout_builder\EventSubscriber

Code

public static function getSubscribedEvents() : array {
    return [
        BlockContentEvents::BLOCK_CONTENT_GET_DEPENDENCY => 'onGetDependency',
    ];
}
RSS feed
Powered by Drupal