You are here

public function ReplicateAlterEvent::__construct in Replicate 8

Overrides ReplicateEventBase::__construct

File

src/Events/ReplicateAlterEvent.php, line 14

Class

ReplicateAlterEvent

Namespace

Drupal\replicate\Events

Code

public function __construct(EntityInterface $entity, EntityInterface $original) {
  parent::__construct($entity);
  $this->original = $original;
}