Search for hook_ENTITY_TYPE
- Search 7.x for hook_ENTITY_TYPE
- Search 9.5.x for hook_ENTITY_TYPE
- Search 8.9.x for hook_ENTITY_TYPE
- Search 10.3.x for hook_ENTITY_TYPE
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
hook_ENTITY_TYPE_access | function | core/ |
Control entity operation access for a specific entity type. |
hook_entity_type_alter | function | core/ |
Alter the entity type definitions. |
hook_entity_type_build | function | core/ |
Add to entity type definitions. |
hook_ENTITY_TYPE_build_defaults_alter | function | core/ |
Alter entity renderable values before cache checking during rendering. |
hook_ENTITY_TYPE_create | function | core/ |
Acts when creating a new entity of a specific type. |
hook_ENTITY_TYPE_create_access | function | core/ |
Control entity create access for a specific entity type. |
hook_ENTITY_TYPE_delete | function | core/ |
Respond to entity deletion of a particular type. |
hook_ENTITY_TYPE_duplicate | function | core/ |
Acts when duplicating an existing entity of a specific type. |
hook_ENTITY_TYPE_field_values_init | function | core/ |
Acts when initializing a fieldable entity object. |
hook_ENTITY_TYPE_form_mode_alter | function | core/ |
Change the form mode of a specific entity type currently being displayed. |
hook_ENTITY_TYPE_insert | function | core/ |
Respond to creation of a new entity of a particular type. |
hook_ENTITY_TYPE_load | function | core/ |
Act on entities of a specific type when loaded. |
hook_ENTITY_TYPE_predelete | function | core/ |
Act before entity deletion of a particular entity type. |
hook_ENTITY_TYPE_prepare_form | function | core/ |
Acts on a particular type of entity object about to be in an entity form. |
hook_ENTITY_TYPE_presave | function | core/ |
Act on a specific type of entity before it is created or updated. |
hook_ENTITY_TYPE_revision_create | function | core/ |
Respond to entity revision creation. |
hook_ENTITY_TYPE_revision_delete | function | core/ |
Respond to entity revision deletion of a particular type. |
hook_ENTITY_TYPE_storage_load | function | core/ |
Act on content entities of a given type when loaded from the storage. |
hook_ENTITY_TYPE_translation_create | function | core/ |
Acts when creating a new entity translation of a specific type. |
hook_ENTITY_TYPE_translation_delete | function | core/ |
Respond to entity translation deletion of a particular type. |
hook_ENTITY_TYPE_translation_insert | function | core/ |
Respond to creation of a new entity translation of a particular type. |
hook_ENTITY_TYPE_update | function | core/ |
Respond to updates to an entity of a particular type. |
hook_ENTITY_TYPE_view | function | core/ |
Act on entities of a particular type being assembled before rendering. |
hook_ENTITY_TYPE_view_alter | function | core/ |
Alter the results of the entity build array for a particular entity type. |
hook_ENTITY_TYPE_view_mode_alter | function | core/ |
Change the view mode of a specific entity type currently being displayed. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.