final class ReplicationEvents in Workspace 8
Replication events.
Hierarchy
- class \Drupal\workspace\Event\ReplicationEvents
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\EventView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReplicationEvents:: |
constant | Event fired after a replication is completed. | ||
ReplicationEvents:: |
constant | Event fired before a replication begins. | ||
ReplicationEvents:: |
constant | Event fired when a replication has been queued. |