Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Search main for to
  6. Other projects
Title Object type File name Summary
EntityReferenceItem::storageSettingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns a short summary of the field's 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::$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 Tests Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator.
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 Tests new entities allowed in default workspace.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php Tests new entities forbidden in non default workspace.
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
EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION constant core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
EntityRepositoryInterface::getActive function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the active entity variant matching the specified context.
EntityRepositoryInterface::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the active entity variants matching the specified context.
EntityRepositoryInterface::getCanonical function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the canonical entity variant matching the specified context.
EntityRepositoryInterface::getCanonicalMultiple function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the canonical entity variants matching the specified context.
EntityRepositoryInterface::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Gets the entity translation to be used in the given context.
EntityRepositoryInterface::loadEntityByConfigTarget function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Loads an entity by the config target identifier.
EntityRepositoryInterface::loadEntityByUuid function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Loads an entity by UUID.
EntityRepositoryTest class core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests the entity repository.
EntityRepositoryTest class core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php Tests Drupal\Core\Entity\EntityRepository.
EntityRepositoryTest.php file core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php

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