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