You are here

final class TermMergeEventNames in Term Merge 8

Contains all events thrown while handling term merges.

Hierarchy

Expanded class hierarchy of TermMergeEventNames

1 file declares its use of TermMergeEventNames
TermsMergedEventSubscriber.php in tests/term_merge_test_events/src/EventSubscriber/TermsMergedEventSubscriber.php

File

src/TermMergeEventNames.php, line 8

Namespace

Drupal\term_merge
View source
final class TermMergeEventNames {

  /**
   * The name of the event triggered when one or more terms are merged into
   * some other term.
   *
   * This event allows modules to react to a term merge. The event listener
   * method receives a \Drupal\term_merge\TermsMergedEvent instance.
   *
   * @Event
   *
   * @see \Drupal\term_merge\TermsMergedEvent
   *
   * @var string
   */
  const TERMS_MERGED = 'term_merge.terms_merged';

}

Members

Namesort descending Modifiers Type Description Overrides
TermMergeEventNames::TERMS_MERGED constant The name of the event triggered when one or more terms are merged into some other term.