Search for entity_type

  1. Search 7.x for entity_type
  2. Search 9.5.x for entity_type
  3. Search 8.9.x for entity_type
  4. Search 10.3.x for entity_type
  5. Other projects
Title Object type File name Summary
CommentType::$target_entity_type_id property core/modules/comment/src/Entity/CommentType.php The target entity type.
ConfigEntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php The class used to represent the entity type.
ContentEntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php The class used to represent the entity type.
ContentLanguageSettings::$target_entity_type_id property core/modules/language/src/Entity/ContentLanguageSettings.php The entity type ID (machine name).
Entity type characteristics group core/lib/Drupal/Core/Entity/entity.api.php Describes how to enhance entity types with additional functionality.
EntityReferenceSelection::$entity_types property core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php An array of entity types that can be referenced by this plugin.
EntityType::$bundle_entity_type property core/lib/Drupal/Core/Entity/EntityType.php The name of the entity type which provides bundles.
EntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/EntityType.php The class used to represent the entity type.
EntityUrlTest::ENTITY_TYPE_ID constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The ID of the entity type used in this test.
EntityViewBuilderTest::ENTITY_TYPE_ID constant core/tests/Drupal/Tests/Core/Entity/EntityViewBuilderTest.php
entity_type.bundle.info service core/core.services.yml Drupal\Core\Entity\EntityTypeBundleInfo
entity_type.listener service core/core.services.yml Drupal\Core\Entity\EntityTypeListener
entity_type.manager service core/core.services.yml Drupal\Core\Entity\EntityTypeManager
entity_type.repository service core/core.services.yml Drupal\Core\Entity\EntityTypeRepository
FieldConfigBase::$entity_type property core/lib/Drupal/Core/Field/FieldConfigBase.php The name of the entity type the field is attached to.
FieldStorageConfig::$entity_type property core/modules/field/src/Entity/FieldStorageConfig.php The name of the entity type the field can be attached to.
field_storage_entity_type_dependency_test.info.yml file core/modules/system/tests/modules/field_storage_entity_type_dependency_test/field_storage_entity_type_dependency_test.info.yml core/modules/system/tests/modules/field_storage_entity_type_dependency_test/field_storage_entity_type_dependency_test.info.yml
hook_entity_query_ENTITY_TYPE_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query for a specific entity type.
hook_entity_query_tag__ENTITY_TYPE__TAG_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query for a specific entity type that has a specific tag.
hook_ENTITY_TYPE_access function core/lib/Drupal/Core/Entity/entity.api.php Control entity operation access for a specific entity type.
hook_entity_type_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the entity type definitions.
hook_entity_type_build function core/lib/Drupal/Core/Entity/entity.api.php Add to entity type definitions.
hook_ENTITY_TYPE_build_defaults_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity renderable values before cache checking during rendering.
hook_ENTITY_TYPE_create function core/lib/Drupal/Core/Entity/entity.api.php Acts when creating a new entity of a specific type.
hook_ENTITY_TYPE_create_access function core/lib/Drupal/Core/Entity/entity.api.php Control entity create access for a specific entity type.
hook_ENTITY_TYPE_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity deletion of a particular type.
hook_ENTITY_TYPE_duplicate function core/lib/Drupal/Core/Entity/entity.api.php Acts when duplicating an existing entity of a specific type.
hook_ENTITY_TYPE_field_values_init function core/lib/Drupal/Core/Entity/entity.api.php Acts when initializing a fieldable entity object.
hook_ENTITY_TYPE_form_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the form mode of a specific entity type currently being displayed.
hook_ENTITY_TYPE_insert function core/lib/Drupal/Core/Entity/entity.api.php Respond to creation of a new entity of a particular type.
hook_ENTITY_TYPE_load function core/lib/Drupal/Core/Entity/entity.api.php Act on entities of a specific type when loaded.
hook_ENTITY_TYPE_predelete function core/lib/Drupal/Core/Entity/entity.api.php Act before entity deletion of a particular entity type.
hook_ENTITY_TYPE_prepare_form function core/lib/Drupal/Core/Entity/entity.api.php Acts on a particular type of entity object about to be in an entity form.
hook_ENTITY_TYPE_presave function core/lib/Drupal/Core/Entity/entity.api.php Act on a specific type of entity before it is created or updated.
hook_ENTITY_TYPE_revision_create function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity revision creation.
hook_ENTITY_TYPE_revision_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity revision deletion of a particular type.
hook_ENTITY_TYPE_storage_load function core/lib/Drupal/Core/Entity/entity.api.php Act on content entities of a given type when loaded from the storage.
hook_ENTITY_TYPE_translation_create function core/lib/Drupal/Core/Entity/entity.api.php Acts when creating a new entity translation of a specific type.
hook_ENTITY_TYPE_translation_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity translation deletion of a particular type.
hook_ENTITY_TYPE_translation_insert function core/lib/Drupal/Core/Entity/entity.api.php Respond to creation of a new entity translation of a particular type.
hook_ENTITY_TYPE_update function core/lib/Drupal/Core/Entity/entity.api.php Respond to updates to an entity of a particular type.
hook_ENTITY_TYPE_view function core/lib/Drupal/Core/Entity/entity.api.php Act on entities of a particular type being assembled before rendering.
hook_ENTITY_TYPE_view_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the results of the entity build array for a particular entity type.
hook_ENTITY_TYPE_view_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the view mode of a specific entity type currently being displayed.
hook_field_info_entity_type_ui_definitions_alter function core/modules/field/field.api.php Alters the UI field definitions.
hook_jsonapi_ENTITY_TYPE_filter_access function core/modules/jsonapi/jsonapi.api.php Controls access to filtering by entity data via JSON:API.
install_core_entity_type_definitions function core/includes/install.core.inc Installs entity type definitions provided by core.
views.view.test_entity_type_filter.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml
_views_field_get_entity_type_storage function core/modules/views/views.module Determines whether the entity type the field appears in is SQL based.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.