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 10.3.x for getEntity
  5. Other projects
Title Object type File name Summary
ConfigEntityMapperInterface::getEntity function core/modules/config_translation/src/ConfigEntityMapperInterface.php Gets the entity instance for this mapper.
EntityTaxonomyVocabulary::getEntity function core/modules/taxonomy/src/Plugin/migrate/destination/EntityTaxonomyVocabulary.php Creates or loads an entity.
EntityTestHelper::getEntityTypes function core/modules/system/tests/modules/entity_test/src/EntityTestHelper.php Returns a list of test entity types.
FieldEntityTest::testGetEntity function core/modules/views/tests/src/Kernel/Entity/FieldEntityTest.php Tests the getEntity method.
FieldEntityTest::testGetEntityNullEntityOptionalRelationship function core/modules/views/tests/src/Kernel/Entity/FieldEntityTest.php Tests the getEntity method returning NULL for an optional relationship.
JsonApiFilterRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php Ensure filtering on relationships works with bundle-specific target types.
JsonApiPatchRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure filtering on relationships works with bundle-specific target types.
MigrateMessageControllerTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php Gets the expected number of entities per entity type after migration.
MigrateMessageControllerTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php Gets expected number of entities per entity after incremental migration.
RevisionDeleteForm::getEntity function core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php Gets the form entity.
RevisionDeleteForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php Determines which entity will be used by this form from a RouteMatch object.
RevisionRevertForm::getEntity function core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php Gets the form entity.
RevisionRevertForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php Determines which entity will be used by this form from a RouteMatch object.
Upgrade6WithContentModerationTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6WithContentModerationTest.php Gets the expected number of entities per entity type after migration.
Upgrade6WithContentModerationTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6WithContentModerationTest.php Gets expected number of entities per entity after incremental migration.
Upgrade7WithContentModerationTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7WithContentModerationTest.php Gets the expected number of entities per entity type after migration.
WorkspaceAssociationTest::getEntityTypeIds function core/modules/workspaces/tests/src/Kernel/WorkspaceAssociationTest.php The data provider for ::testWorkspaceAssociation().

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