You are here

public static function TermsMergedEventSubscriber::getSubscribedEvents in Term Merge 8

File

tests/term_merge_test_events/src/EventSubscriber/TermsMergedEventSubscriber.php, line 25

Class

TermsMergedEventSubscriber
This event subscriber prints a message to the screen when some terms are merged.

Namespace

Drupal\term_merge_test_events\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[TermMergeEventNames::TERMS_MERGED][] = [
    'onTermMerge',
  ];
  return $events;
}