Search for to

  1. Search 7.x for to
  2. Search 8.9.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
EntityReferenceAutoCreateTest::testNoBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests autocreation for an entity that has no bundles.
EntityReferenceEntityFormatter::$entityDisplayRepository property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The entity display repository.
EntityReferenceEntityFormatter::$loggerFactory property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The logger factory.
EntityReferenceFieldItemNormalizer::$entityRepository property core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php The entity repository.
EntityReferenceFieldItemNormalizerTest::$entityRepository property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock entity repository.
EntityReferenceFieldTest::assertUserAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for users.
EntityReferenceFieldTest::assertUserRoleAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for user roles.
EntityReferenceFieldTest::testAutocreateApi function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests all the possible ways to autocreate an entity via the API.
EntityReferenceFieldTranslatedReferenceViewTest::$translateToLangcode property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Target langcode for translation.
EntityReferenceFormatterBase::getEntitiesToView function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Returns the referenced entities for display.
EntityReferenceFormatterTest::testCustomCacheTagFormatter function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Tests the merging of cache metadata.
EntityReferenceItem::calculateStorageDependencies function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Calculates dependencies for field items on the storage level.
EntityReferenceItem::defaultStorageSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines the storage-level settings for this plugin.
EntityReferenceItem::storageSettingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns a form for the storage-level settings.
EntityReferenceItemTest::testAutocreateValidation function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests ValidReferenceConstraint with newly created and unsaved entities.
EntityReferenceItemTest::testEntityAutoCreate function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests entity auto create.
EntityReferenceSettingsTest::$customBundle property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php An entity bundle that is not stored as a configuration entity.
EntityReferenceSettingsTest::testCustomTargetBundleDeletion function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Tests that deletions of custom bundles are mirrored in field settings.
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::$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 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 Modules to enable.
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]]
EntityRepository class core/lib/Drupal/Core/Entity/EntityRepository.php Provides several mechanisms for retrieving entities.
EntityRepository.php file core/lib/Drupal/Core/Entity/EntityRepository.php
EntityRepository::$contextRepository property core/lib/Drupal/Core/Entity/EntityRepository.php The context repository service.
EntityRepository::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityRepository.php The entity type manager.
EntityRepository::$languageManager property core/lib/Drupal/Core/Entity/EntityRepository.php The language manager.
EntityRepository::getActive function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the active entity variant matching the specified context.
EntityRepository::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the active entity variants matching the specified context.
EntityRepository::getCanonical function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the canonical entity variant matching the specified context.
EntityRepository::getCanonicalMultiple function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the canonical entity variants matching the specified context.
EntityRepository::getContentLanguageFromContexts function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the current content language from the specified contexts.
EntityRepository::getLatestTranslationAffectedRevision function core/lib/Drupal/Core/Entity/EntityRepository.php Returns the latest revision translation of the specified entity.
EntityRepository::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepository.php Gets the entity translation to be used in the given context.
EntityRepository::loadEntityByConfigTarget function core/lib/Drupal/Core/Entity/EntityRepository.php Loads an entity by the config target identifier.
EntityRepository::loadEntityByUuid function core/lib/Drupal/Core/Entity/EntityRepository.php Loads an entity by UUID.
EntityRepository::loadRevision function core/lib/Drupal/Core/Entity/EntityRepository.php Loads the specified entity revision.
EntityRepository::__construct function core/lib/Drupal/Core/Entity/EntityRepository.php Constructs a new EntityRepository.
EntityRepositoryInterface interface core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Provides an interface for an entity repository.
EntityRepositoryInterface.php file core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php

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