You are here

public static function ConfigSubscriber::getSubscribedEvents in Menu Item Extras 8.2

File

src/EventSubscriber/ConfigSubscriber.php, line 37

Class

ConfigSubscriber
Provides a ConfigSubscriber that adds a module dependency for all configurations related to the view_mode field on menu_link_content entities during a config export.

Namespace

Drupal\menu_item_extras\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::STORAGE_TRANSFORM_EXPORT][] = [
    'onConfigExport',
  ];
  return $events;
}