| 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 |
|
| EntityReferenceItem::defaultStorageSettings |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php |
|
| EntityReferenceItem::storageSettingsForm |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php |
|
| 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 |
|
| 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]] |
| 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 |
|
| EntityRepository::getActiveMultiple |
function |
core/lib/Drupal/Core/Entity/EntityRepository.php |
|
| EntityRepository::getCanonical |
function |
core/lib/Drupal/Core/Entity/EntityRepository.php |
|
| EntityRepository::getCanonicalMultiple |
function |
core/lib/Drupal/Core/Entity/EntityRepository.php |
|
| 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 |
|
| EntityRepository::loadEntityByConfigTarget |
function |
core/lib/Drupal/Core/Entity/EntityRepository.php |
|
| EntityRepository::loadEntityByUuid |
function |
core/lib/Drupal/Core/Entity/EntityRepository.php |
|
| 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 |
|