You are here

final class EntityConflictEvents in Conflict 8.2

Defines events for entity conflict discovery and conflict resolution.

Hierarchy

Expanded class hierarchy of EntityConflictEvents

See also

\Drupal\conflict\Event\EntityConflictDiscoveryEvent

\Drupal\conflict\Event\EntityConflictResolutionEvent

3 files declare their use of EntityConflictEvents
ConflictDiscoveryBase.php in src/ConflictDiscovery/ConflictDiscoveryBase.php
ConflictResolverManager.php in src/ConflictResolver/ConflictResolverManager.php
MergeStrategyBase.php in src/ConflictResolution/MergeStrategyBase.php

File

src/Event/EntityConflictEvents.php, line 11

Namespace

Drupal\conflict\Event
View source
final class EntityConflictEvents {

  /**
   * The name of the event fired when searching for conflicts.
   *
   * @Event
   */
  const ENTITY_CONFLICT_DISCOVERY = 'entity_conflict.discovery';

  /**
   * The name of the event fired when resolving conflicts.
   *
   * @Event
   */
  const ENTITY_CONFLICT_RESOLVE = 'entity_conflict.resolve';

}

Members

Namesort descending Modifiers Type Description Overrides
EntityConflictEvents::ENTITY_CONFLICT_DISCOVERY constant The name of the event fired when searching for conflicts.
EntityConflictEvents::ENTITY_CONFLICT_RESOLVE constant The name of the event fired when resolving conflicts.