Search for getEntity

  1. Search 7.x for getEntity
  2. Search 9.5.x for getEntity
  3. Search 10.3.x for getEntity
  4. Search 11.x for getEntity
  5. Other projects
Title Object type File name Summary
EntityBaseFieldOverride::getEntityId function core/modules/migrate/src/Plugin/migrate/destination/EntityBaseFieldOverride.php Gets the entity ID of the row.
EntityBlock::getEntityId function core/modules/block/src/Plugin/migrate/destination/EntityBlock.php
EntityConstraintViolationList::getEntity function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php
EntityConstraintViolationList::getEntityViolations function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php
EntityConstraintViolationListInterface::getEntity function core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php The entity which has been validated.
EntityConstraintViolationListInterface::getEntityViolations function core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php Gets violations flagged on entity level, not associated with any field.
EntityContentComplete::getEntity function core/modules/migrate/src/Plugin/migrate/destination/EntityContentComplete.php Gets the entity.
EntityContextDefinition::getEntityTypeId function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Returns the entity type ID of this context.
EntityController::doGetEntity function core/lib/Drupal/Core/Entity/Controller/EntityController.php Determines the entity.
EntityDataDefinition::getEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php
EntityDataDefinitionInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Gets the entity type ID.
EntityDefinitionUpdateManager::getEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php
EntityDefinitionUpdateManager::getEntityTypes function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php
EntityDefinitionUpdateManagerInterface::getEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Returns an entity type definition ready to be manipulated.
EntityDefinitionUpdateManagerInterface::getEntityTypes function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Returns all the entity type definitions, ready to be manipulated.
EntityDefinitionUpdateTest::testGetEntityTypes function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php @covers ::getEntityTypes[[api-linebreak]]
EntityDeleteFormTrait::getEntity function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Gets the entity of this form.
EntityDisplayBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayBase.php Entity type to be displayed.
EntityDisplayBase::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/EntityDisplayBase.php
EntityDisplayBaseTest::testGetTargetEntityTypeId function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @covers ::getTargetEntityTypeId[[api-linebreak]]
EntityDisplayFormBase::getEntityDisplay function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns an entity display object to be used by this form.
EntityDisplayFormBase::getEntityFromRouteMatch function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Determines which entity will be used by this form from a RouteMatch object.
EntityDisplayInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the entity type for which this display is used.
EntityDisplayModeAddForm::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php The entity type for which the display mode is being created.
EntityDisplayModeBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The entity type this form or view mode is used for.
EntityField::getEntityFieldRenderer function core/modules/views/src/Plugin/views/field/EntityField.php Returns the entity field renderer.
EntityFieldDefinitionTrait::getEntityTypeId function core/modules/migrate/src/EntityFieldDefinitionTrait.php Finds the entity type from configuration or plugin ID.
EntityFieldRenderer::getEntityManager function core/modules/views/src/Entity/Render/EntityFieldRenderer.php
EntityFieldRenderer::getEntityRepository function core/modules/views/src/Entity/Render/EntityFieldRenderer.php Returns the entity repository.
EntityFieldRenderer::getEntityTypeId function core/modules/views/src/Entity/Render/EntityFieldRenderer.php Returns the entity type identifier.
EntityFieldRenderer::getEntityTypeManager function core/modules/views/src/Entity/Render/EntityFieldRenderer.php Returns the entity type manager.
EntityFieldStorageConfig::getEntityTypeId function core/modules/migrate_drupal/src/Plugin/migrate/destination/EntityFieldStorageConfig.php Finds the entity type from configuration or plugin ID.
EntityFile::getEntity function core/modules/file/src/Plugin/migrate/destination/EntityFile.php Creates or loads an entity.
EntityForm::getEntity function core/lib/Drupal/Core/Entity/EntityForm.php
EntityForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/EntityForm.php
EntityFormDisplayAccessControlHandlerTest::getEntityTypeManager function core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php Returns a mock Entity Type Manager.
EntityFormDisplayEditForm::getEntityDisplay function core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php Returns an entity display object to be used by this form.
EntityFormInterface::getEntity function core/lib/Drupal/Core/Entity/EntityFormInterface.php Gets the form entity.
EntityFormInterface::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/EntityFormInterface.php Determines which entity will be used by this form from a RouteMatch object.
EntityFormTest::testGetEntityFromRouteMatchAdd function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() for add forms without a bundle.
EntityFormTest::testGetEntityFromRouteMatchAddEntity function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a config entity bundle.
EntityFormTest::testGetEntityFromRouteMatchAddStatic function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a static bundle.
EntityFormTest::testGetEntityFromRouteMatchEditDelete function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() for edit and delete forms.
EntityInterface::getEntityType function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the entity type definition.
EntityInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the ID of the type of the entity.
EntityLink::getEntityLinkTemplate function core/modules/views/src/Plugin/views/field/EntityLink.php Returns the entity link template name identifying the link route.
EntityLinkDelete::getEntityLinkTemplate function core/modules/views/src/Plugin/views/field/EntityLinkDelete.php Returns the entity link template name identifying the link route.
EntityLinkEdit::getEntityLinkTemplate function core/modules/views/src/Plugin/views/field/EntityLinkEdit.php Returns the entity link template name identifying the link route.
EntityListBuilder::getEntityIds function core/lib/Drupal/Core/Entity/EntityListBuilder.php Loads entity IDs using a pager sorted by the entity id.
EntityManager::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityManager.php

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