Search for getEntity

  1. Search 7.x for getEntity
  2. Search 8.9.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
MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity creation permissions.
MediaLibraryAccessTest::testFieldWidgetEntityEditAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity-specific access.
MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity field-level access.
MediaListBuilder::getEntityIds function core/modules/media/src/MediaListBuilder.php Loads entity IDs using a pager sorted by the entity id.
MediaSourceEntityConstraintsInterface::getEntityConstraints function core/modules/media/src/MediaSourceEntityConstraintsInterface.php Gets media source-specific validation constraints for a media item.
MenuLinkContent::getEntity function core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php Loads the entity associated with this menu link.
MigrateUpgradeTestBase::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Gets the expected number of entities per entity type after migration.
MigrateUpgradeTestBase::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Gets expected number of entities per entity after incremental migration.
ModeratedNodeListBuilder::getEntityRevisionIds function core/modules/content_moderation/src/ModeratedNodeListBuilder.php Loads entity revision IDs using a pager sorted by the entity revision ID.
ModerationInformationTest::getEntityTypeManager function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Returns a mock Entity Type Manager.
MultilingualReviewPageTestBase::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php
MultilingualReviewPageTestBase::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php
NodeClassicTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
NodeClassicTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
NodeReference::getEntityTypeMigrationId function core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php Gets the plugin ID for the reference type migration.
NodeReference::getEntityTypeMigrationId function core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php Gets the plugin ID for the reference type migration.
NodeStorageSchema::getEntitySchema function core/modules/node/src/NodeStorageSchema.php
NormalizeTest::getEntityUri function core/modules/hal/tests/src/Kernel/NormalizeTest.php Constructs the entity URI.
OverridesSectionStorage::getEntity function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Gets the entity storing the overrides.
OverridesSectionStorage::getEntityTypes function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Returns an array of relevant entity types.
PathAliasListBuilder::getEntityIds function core/modules/path/src/PathAliasListBuilder.php
PathAliasStorageSchema::getEntitySchema function core/modules/path_alias/src/PathAliasStorageSchema.php
PerComponentEntityDisplay::getEntity function core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php
PerComponentEntityFormDisplay::getEntity function core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityFormDisplay.php
QueryBase::getEntityTypeId function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Gets the ID of the entity type for this query.
QueryPluginBase::getEntityTableInfo function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Returns an array of all tables from the query that map to an entity type.
RdfMapping::$targetEntityType property core/modules/rdf/src/Entity/RdfMapping.php Entity type to be mapped.
ReferenceBase::getEntityTypeMigrationId function core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php Gets the plugin ID for the reference type migration.
RenderedEntity::getEntityRepository function core/modules/views/src/Plugin/views/field/RenderedEntity.php
RenderedEntity::getEntityTypeId function core/modules/views/src/Plugin/views/field/RenderedEntity.php
RenderedEntity::getEntityTypeManager function core/modules/views/src/Plugin/views/field/RenderedEntity.php
ResourceTestBase::getEntityDuplicate function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
ResourceType::getEntityTypeId function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets the entity type ID.
RevisionLogEntityTrait::getEntityType function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Gets the entity type definition.
SourceProviderTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php
SourceProviderTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php
SqlContentEntityStorageSchema::getEntityIndexName function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the name to be used for the given entity index.
SqlContentEntityStorageSchema::getEntitySchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the entity schema for the specified entity type.
SqlContentEntityStorageSchema::getEntitySchemaData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets entity schema definitions for index and key definitions.
SqlContentEntityStorageSchema::getEntitySchemaTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a list of entity type tables.
StringFormatter::getEntityUrl function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Gets the URI elements of the entity.
SystemMenuOffCanvasForm::getEntityForm function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Gets the entity form for this menu.
TermStorageSchema::getEntitySchema function core/modules/taxonomy/src/TermStorageSchema.php
TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
TestPerComponentEntityDisplay::getEntity function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
TestPerComponentEntityFormDisplay::getEntity function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
TestWithConstraints::getEntityConstraints function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestWithConstraints.php Gets media source-specific validation constraints for a media item.
TranslationLink::getEntityLinkTemplate function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php
Upgrade6Test::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php

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