You are here

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

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

File

src/EventSubscriber/LayoutBuilderIdsConfigureSection.php, line 149

Class

LayoutBuilderIdsConfigureSection
Add section id to layout builder sections.

Namespace

Drupal\layout_builder_ids\EventSubscriber

Code

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