class ReplicateAlterEvent in Replicate 8
Hierarchy
- class \Drupal\replicate\Events\ReplicateEventBase extends \Symfony\Component\EventDispatcher\Event
- class \Drupal\replicate\Events\ReplicateAlterEvent
Expanded class hierarchy of ReplicateAlterEvent
2 files declare their use of ReplicateAlterEvent
- Replicator.php in src/
Replicator.php - ReplicatorTest.php in tests/
src/ Unit/ ReplicatorTest.php
File
- src/
Events/ ReplicateAlterEvent.php, line 7
Namespace
Drupal\replicate\EventsView source
class ReplicateAlterEvent extends ReplicateEventBase {
/**
* @var \Drupal\Core\Entity\EntityInterface
*/
protected $original;
public function __construct(EntityInterface $entity, EntityInterface $original) {
parent::__construct($entity);
$this->original = $original;
}
/**
* @return \Drupal\Core\Entity\EntityInterface
*/
public function getOriginal() {
return $this->original;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReplicateAlterEvent:: |
protected | property | ||
ReplicateAlterEvent:: |
public | function | ||
ReplicateAlterEvent:: |
public | function |
Overrides ReplicateEventBase:: |
|
ReplicateEventBase:: |
protected | property | ||
ReplicateEventBase:: |
public | function |