function EventSubscriber::getSubscribedEvents

File

core/modules/config/tests/config_collection_install_test/src/EventSubscriber.php, line 45

Class

EventSubscriber

Namespace

Drupal\config_collection_install_test

Code

public static function getSubscribedEvents() : array {
  $events[ConfigCollectionEvents::COLLECTION_INFO][] = [
    'addCollections',
  ];
  return $events;
}

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