EntityTypeEvent
class EntityTypeEvent extends GenericEvent (View source)
Defines a base class for all entity type events.
Properties
| protected EntityTypeInterface | $entityType | The entity type. |
|
| protected EntityTypeInterface | $original | The original entity type. |
Methods
__construct(EntityTypeInterface $entity_type, EntityTypeInterface $original = NULL)
Constructs a new EntityTypeEvent.
getEntityType()
The entity type the event refers to.
getOriginal()
The original entity type.
Details
__construct(EntityTypeInterface $entity_type, EntityTypeInterface $original = NULL)
Constructs a new EntityTypeEvent.
EntityTypeInterface
getEntityType()
The entity type the event refers to.
EntityTypeInterface
getOriginal()
The original entity type.