Search for getEntity

  1. Search 7.x for getEntity
  2. Search 9.5.x for getEntity
  3. Search 8.9.x for getEntity
  4. Search 11.x for getEntity
  5. Other projects
Title Object type File name Summary
EntityBase::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityBase.php
EntityBaseFieldOverride::getEntityId function core/modules/migrate/src/Plugin/migrate/destination/EntityBaseFieldOverride.php
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
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
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
EntityDisplayInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the entity type for which this display is used.
EntityDisplayModeBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The entity type this form or view mode is used for.
EntityDisplayModeFormBase::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The entity type for which the display mode is being created or edited.
EntityDisplayModeFormBase::getEntityDisplay function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Returns an entity display object to be used by this form.
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::getEntityRepository function core/modules/views/src/Entity/Render/EntityFieldRenderer.php
EntityFieldRenderer::getEntityTypeId function core/modules/views/src/Entity/Render/EntityFieldRenderer.php
EntityFieldRenderer::getEntityTypeManager function core/modules/views/src/Entity/Render/EntityFieldRenderer.php
EntityFile::getEntity function core/modules/file/src/Plugin/migrate/destination/EntityFile.php
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
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
EntityLinkEdit::getEntityLinkTemplate function core/modules/views/src/Plugin/views/field/EntityLinkEdit.php
EntityListBuilder::getEntityIds function core/lib/Drupal/Core/Entity/EntityListBuilder.php Loads entity IDs using a pager sorted by the entity id.
EntityListBuilder::getEntityListQuery function core/lib/Drupal/Core/Entity/EntityListBuilder.php Returns a query object for loading entity IDs from the storage.

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