class EntityCreateEvent in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/core_event_dispatcher/src/Event/Entity/EntityCreateEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityCreateEvent
Class EntityCreateEvent.
Hierarchy
- class \Drupal\core_event_dispatcher\Event\Entity\AbstractEntityEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
- class \Drupal\core_event_dispatcher\Event\Entity\EntityCreateEvent
Expanded class hierarchy of EntityCreateEvent
1 file declares its use of EntityCreateEvent
- core_event_dispatcher.module in modules/
core_event_dispatcher/ core_event_dispatcher.module - Core event dispatcher submodule.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityCreateEvent.php, line 10
Namespace
Drupal\core_event_dispatcher\Event\EntityView source
class EntityCreateEvent extends AbstractEntityEvent {
/**
* {@inheritdoc}
*/
public function getDispatcherType() : string {
return HookEventDispatcherInterface::ENTITY_CREATE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractEntityEvent:: |
protected | property | The Entity. | |
AbstractEntityEvent:: |
public | function | Get the Entity. | |
AbstractEntityEvent:: |
public | function | AbstractEntityEvent constructor. | 4 |
EntityCreateEvent:: |
public | function |
Get the dispatcher type. Overrides EventInterface:: |