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 10.3.x for entities
  5. Other projects
Title Object type File name Summary
EntityDefinitionUpdateMultipleTypesTest::testBundleFieldCreateDeleteWithExistingEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.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.
EntityMethodConfigActionsTest::testSimpleConfigUpdateFailsOnEntities function core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php Tests that the simpleConfigUpdate action cannot be used on entities.
EntityQueryRelationshipTest::$entities property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php The entity_test entities.
EntityReference::getDefaultSelectedEntities function core/modules/views/src/Plugin/views/filter/EntityReference.php Gets all entities selected by default.
EntityReferenceFieldItemList::referencedEntities function core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php Gets the entities referenced by this field, preserving field item deltas.
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 Instantiates a new instance of this class.
EntityReferenceSupportedNewEntitiesConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
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 Modules to install.
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 Tests referenced entities.
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 Validates which newly created entities can be referenced.
FilterEntityReferenceTrait::$hostEntities property core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php Host entities which contain the reference fields to the target entities.
FilterEntityReferenceTrait::$targetEntities property core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php Entities to be used as reference targets.
FilterFormatListBuilder::$entitiesKey property core/modules/filter/src/FilterFormatListBuilder.php The key to use for the form element containing the entities.
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().

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