class EntityCreateEvent in Hook Event Dispatcher 8
Class EntityCreateEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Entity\BaseEntityEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
- class \Drupal\hook_event_dispatcher\Event\Entity\EntityCreateEvent
Expanded class hierarchy of EntityCreateEvent
1 file declares its use of EntityCreateEvent
- hook_event_dispatcher.module in ./
hook_event_dispatcher.module - Hook event dispatcher module.
File
- src/
Event/ Entity/ EntityCreateEvent.php, line 10
Namespace
Drupal\hook_event_dispatcher\Event\EntityView source
class EntityCreateEvent extends BaseEntityEvent {
/**
* {@inheritdoc}
*/
public function getDispatcherType() {
return HookEventDispatcherInterface::ENTITY_CREATE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseEntityEvent:: |
protected | property | The Entity. | |
BaseEntityEvent:: |
public | function | Get the Entity. | |
BaseEntityEvent:: |
public | function | Set the Entity. | |
BaseEntityEvent:: |
public | function | BaseEntityEvent constructor. | 4 |
EntityCreateEvent:: |
public | function |
Get the dispatcher type. Overrides EventInterface:: |