You are here

public static function MockGcEventSubscriber::getSubscribedEvents in GatherContent 8.4

File

tests/modules/gathercontent_test/src/EventSubscriber/MockGcEventSubscriber.php, line 22

Class

MockGcEventSubscriber
Class for testing events.

Namespace

Drupal\gathercontent_test\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    GatherContentEvents::PRE_NODE_SAVE => 'preNodeSave',
    GatherContentEvents::POST_NODE_SAVE => 'postNodeSave',
  ];
}