Search for to

  1. Search 7.x for to
  2. Search 9.5.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
EntityReferenceAutocompleteWidgetTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Modules to enable.
EntityReferenceAutocompleteWidgetTest::doAutocomplete function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Executes an autocomplete on a given field and waits for it to finish.
EntityReferenceAutocompleteWidgetTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the default autocomplete widget return the correct results.
EntityReferenceAutoCreateTest class core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests creating new entity (e.g. taxonomy-term) from an autocomplete widget.
EntityReferenceAutoCreateTest.php file core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
EntityReferenceAutoCreateTest::$defaultTheme property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php The theme to install as the default for testing.
EntityReferenceAutoCreateTest::$modules property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Modules to enable.
EntityReferenceAutoCreateTest::$referencedType property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php The name of a content type that will be referenced by $referencingType.
EntityReferenceAutoCreateTest::$referencingType property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php The name of a content type that will reference $referencedType.
EntityReferenceAutoCreateTest::setUp function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
EntityReferenceAutoCreateTest::testAutoCreate function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests that the autocomplete input element appears and the creation of a new
entity.
EntityReferenceAutoCreateTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests if an entity reference field having multiple target bundles is
storing the auto-created entity in the right destination.
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
@group workspaces
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
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
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate
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.

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