You are here

public static function LayoutParagraphsUpdateLayoutSubscriber::getSubscribedEvents in Layout Paragraphs 2.0.x

File

src/EventSubscriber/LayoutParagraphsUpdateLayoutSubscriber.php, line 16

Class

LayoutParagraphsUpdateLayoutSubscriber
Event subscriber.

Namespace

Drupal\layout_paragraphs\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    LayoutParagraphsUpdateLayoutEvent::EVENT_NAME => 'compareLayouts',
  ];
}