You are here

final class ReplicationDataEvents in Replication 8

Same name and namespace in other branches
  1. 8.2 src/Event/ReplicationDataEvents.php \Drupal\replication\Event\ReplicationDataEvents

Replication events.

Hierarchy

Expanded class hierarchy of ReplicationDataEvents

2 files declare their use of ReplicationDataEvents
ContentEntityNormalizer.php in src/Normalizer/ContentEntityNormalizer.php
ContentEntityTestAlterSubscriber.php in tests/modules/replication_alter_test/src/Event/ContentEntityTestAlterSubscriber.php

File

src/Event/ReplicationDataEvents.php, line 8

Namespace

Drupal\replication\Event
View source
final class ReplicationDataEvents {

  /**
   * Allows altering of normalized content data.
   *
   * This event allows modules to perform an action whenever a content entity
   *  is normalized by the ContentEntityNormalizer. The event listener method
   *  receives a \Drupal\replication\Event\ContentDataAlterEvent instance.
   */
  const ALTER_CONTENT_DATA = 'replication.alter.content';

}

Members

Namesort descending Modifiers Type Description Overrides
ReplicationDataEvents::ALTER_CONTENT_DATA constant Allows altering of normalized content data.