EntityTypeEvents
final class EntityTypeEvents (View source)
Contains all events thrown while handling entity types.
Constants
| CREATE |
The name of the event triggered when a new entity type is created. This event allows modules to react to a new entity type being created. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance. |
| UPDATE |
The name of the event triggered when an existing entity type is updated. This event allows modules to react whenever an existing entity type is updated. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance. |
| DELETE |
The name of the event triggered when an existing entity type is deleted. This event allows modules to react whenever an existing entity type is deleted. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance. |