You are here

public function ReplicationEvent::__construct in Workspace 8

ReplicationEvent constructor.

Parameters

\Drupal\workspace\Entity\Replication $replication: The Replication object.

File

src/Event/ReplicationEvent.php, line 26

Class

ReplicationEvent
Wraps a replication for event listeners.

Namespace

Drupal\workspace\Event

Code

public function __construct(Replication $replication) {
  $this->replication = $replication;
}