Search for entities

  1. Search 7.x for entities
  2. Search 9.5.x for entities
  3. Search 8.9.x for entities
  4. Search 11.x for entities
  5. Other projects
Title Object type File name Summary
EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a bundle field if entities exist.
EntityInterface::referencedEntities function core/lib/Drupal/Core/Entity/EntityInterface.php Gets a list of entities referenced by this entity.
EntityQueryRelationshipTest::$entities property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php entity_test entities.
EntityReferenceFieldItemList::referencedEntities function core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php
EntityReferenceFieldItemListInterface::referencedEntities function core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php Gets the entities referenced by this field, preserving field item deltas.
EntityReferenceFieldTest::testReferencedEntitiesMultipleLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests the multiple target entities loader.
EntityReferenceFieldTest::testReferencedEntitiesStringId function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests referencing entities with string IDs.
EntityReferenceFormatterBase::getEntitiesToView function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Returns the referenced entities for display.
EntityReferenceFormatterTest::testEntityReferenceRecursiveProtectionWithManyRenderedEntities function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Renders the same entity referenced from different places.
EntityReferenceIntegrationTest::getTestEntities function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php Creates two content and two config test entities.
EntityReferenceRelationshipTest::$entities property core/modules/field/tests/src/Kernel/EntityReference/Views/EntityReferenceRelationshipTest.php The entity_test entities used by the test.
EntityReferenceSupportedNewEntitiesConstraint class core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraint.php The entity reference supported new entities constraint.
EntityReferenceSupportedNewEntitiesConstraint.php file core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraint.php
EntityReferenceSupportedNewEntitiesConstraint::$message property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraint.php The default violation message.
EntityReferenceSupportedNewEntitiesConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Checks if new entities created for entity reference fields are supported.
EntityReferenceSupportedNewEntitiesConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::$entityTypeManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceInfo property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The workspace information service.
EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The workspace manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Creates a new EntityReferenceSupportedNewEntitiesConstraintValidator instance.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest class core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator[[api-linebreak]]
@group workspaces
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::setUp function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
EntityResource::loadEntitiesWithAccess function core/modules/jsonapi/src/Controller/EntityResource.php Build a collection of the entities to respond with and access objects.
EntityStorageBase::getEntitiesByClass function core/lib/Drupal/Core/Entity/EntityStorageBase.php Indexes the given array of entities by their class name and ID.
EntityTestBundleClass::$postLoadEntitiesCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The size of the $entities array passed to each invocation of postLoad().
EntityTestController::listEntitiesAlphabetically function core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php List entities of the given entity type labels, sorted alphabetically.
EntityTestController::listEntitiesEmpty function core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php Empty list of entities of the given entity type.
EntityTestController::listReferencingEntities function core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php List entity_test entities referencing the given entity.
EntityTypedDataDefinitionTest::testEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php Tests deriving metadata about entities.
EntityUnitTest::testReferencedEntities function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::referencedEntities[[api-linebreak]]
EntityViewControllerTest::$entities property core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php Array of test entities.
EntityWorkspaceConflictConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
FieldableEntityDefinitionUpdateTest::$testEntities property core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php An array of entities are created during the test.
FieldEntitySettingsTest::testFieldEntitiesCarryDefaultSettings function core/modules/field/tests/src/Kernel/Entity/FieldEntitySettingsTest.php @group legacy
FieldFieldTest::$entities property core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php The stored test entities.
FileSelection::validateReferenceableNewEntities function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php
FilterFormatListBuilder::$entitiesKey property core/modules/filter/src/FilterFormatListBuilder.php
Html::decodeEntities function core/lib/Drupal/Component/Utility/Html.php Decodes all HTML entities including numerical ones to regular UTF-8 bytes.
HtmlTest::providerDecodeEntities function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Data provider for testDecodeEntities().
HtmlTest::testDecodeEntities function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests Html::decodeEntities().
HtmlTest::testDecodeEntitiesAndEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests relationship between escaping and decoding HTML entities.
ImageFormatterBase::getEntitiesToView function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php
InternalEntitiesTest class core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Makes assertions about the JSON:API behavior for internal entities.

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