You are here

public static function LayoutBuilderIdsConfigureBlock::getSubscribedEvents in Layout builder ids 2.0.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php \Drupal\layout_builder_ids\EventSubscriber\LayoutBuilderIdsConfigureBlock::getSubscribedEvents()

File

src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php, line 131

Class

LayoutBuilderIdsConfigureBlock
Add block ids to layout builder sections.

Namespace

Drupal\layout_builder_ids\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  return [
    HookEventDispatcherInterface::FORM_ALTER => 'alterForm',
  ];
}