You are here

final class ReplicatorEvents in Replicate 8

Hierarchy

Expanded class hierarchy of ReplicatorEvents

3 files declare their use of ReplicatorEvents
ReplicatePathFieldSubscriber.php in src/EventSubscriber/ReplicatePathFieldSubscriber.php
Replicator.php in src/Replicator.php
ReplicatorTest.php in tests/src/Unit/ReplicatorTest.php

File

src/Events/ReplicatorEvents.php, line 5

Namespace

Drupal\replicate\Events
View source
final class ReplicatorEvents {

  /**
   * @see \Drupal\replicate\Events\AfterSaveEvent
   */
  const AFTER_SAVE = 'replicate__after_save';

  /**
   * @see \Drupal\replicate\Events\ReplicateAlterEvent
   */
  const REPLICATE_ALTER = 'replicate__alter';

  /**
   * @param $entity_type_id
   *
   * @return string
   */
  public static function replicateEntityEvent($entity_type_id) {
    return 'replicate__entity__' . $entity_type_id;
  }
  public static function replicateEntityField($field_type) {
    return 'replicate__entity_field__' . $field_type;
  }

}

Members