function LayoutBuilderConfigSubscriber::getSubscribedEvents

Same name in other branches
  1. 10 core/modules/layout_builder/src/EventSubscriber/LayoutBuilderConfigSubscriber.php \Drupal\layout_builder\EventSubscriber\LayoutBuilderConfigSubscriber::getSubscribedEvents()

File

core/modules/layout_builder/src/EventSubscriber/LayoutBuilderConfigSubscriber.php, line 41

Class

LayoutBuilderConfigSubscriber
Layout Builder Config subscriber.

Namespace

Drupal\layout_builder\EventSubscriber

Code

public static function getSubscribedEvents() : array {
    $events[ConfigEvents::SAVE][] = [
        'onConfigSave',
    ];
    return $events;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.