public function ReplicateEventBase::__construct in Replicate 8
2 calls to ReplicateEventBase::__construct()
- ReplicateAlterEvent::__construct in src/
Events/ ReplicateAlterEvent.php - ReplicateEntityFieldEvent::__construct in src/
Events/ ReplicateEntityFieldEvent.php - Creates a new ReplicateEntityFieldEvent instance.
2 methods override ReplicateEventBase::__construct()
- ReplicateAlterEvent::__construct in src/
Events/ ReplicateAlterEvent.php - ReplicateEntityFieldEvent::__construct in src/
Events/ ReplicateEntityFieldEvent.php - Creates a new ReplicateEntityFieldEvent instance.
File
- src/
Events/ ReplicateEventBase.php, line 15
Class
Namespace
Drupal\replicate\EventsCode
public function __construct(EntityInterface $entity) {
$this->entity = $entity;
}