You are here

final class ReplicationEvents in Workspace 8

Replication events.

Hierarchy

Expanded class hierarchy of ReplicationEvents

4 files declare their use of ReplicationEvents
ReplicationFinished.php in src/EventSubscriber/ReplicationFinished.php
ReplicatorManager.php in src/ReplicatorManager.php
ReplicatorTest.php in tests/src/Functional/ReplicatorTest.php
WorkspaceReplication.php in src/Plugin/QueueWorker/WorkspaceReplication.php

File

src/Event/ReplicationEvents.php, line 8

Namespace

Drupal\workspace\Event
View source
final class ReplicationEvents {

  /**
   * Event fired when a replication has been queued.
   *
   * @var string
   */
  const QUEUED_REPLICATION = 'workspace.queued_replication';

  /**
   * Event fired before a replication begins.
   *
   * @var string
   */
  const PRE_REPLICATION = 'workspace.pre_replication';

  /**
   * Event fired after a replication is completed.
   *
   * This event is fired regardless of whether the replication succeeded or
   * failed.
   *
   * @var string
   */
  const POST_REPLICATION = 'workspace.post_replication';

}

Members

Namesort descending Modifiers Type Description Overrides
ReplicationEvents::POST_REPLICATION constant Event fired after a replication is completed.
ReplicationEvents::PRE_REPLICATION constant Event fired before a replication begins.
ReplicationEvents::QUEUED_REPLICATION constant Event fired when a replication has been queued.