EntityReferenceFieldItemNormalizerTest::$serializer |
property |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
The mock serializer. |
EntityReferenceFieldItemNormalizerTest::assertDenormalize |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
Asserts denormalization process is correct for give data. |
EntityReferenceFieldItemNormalizerTest::setUp |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
|
EntityReferenceFieldItemNormalizerTest::testConstructValueProperties |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::constructValue |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmptyUuid |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithId |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeAndUuid |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithoutType |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize |
EntityReferenceFieldItemNormalizerTest::testNormalize |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::normalize |
EntityReferenceFieldItemNormalizerTest::testNormalizeWithEmptyTaxonomyTermReference |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::normalize |
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNewEntityReference |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
|
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNoEntity |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::normalize |
EntityReferenceFieldItemNormalizerTest::testSupportsDenormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::supportsDenormalization |
EntityReferenceFieldItemNormalizerTest::testSupportsNormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::supportsNormalization |
EntityReferenceFieldItemNormalizerTrait |
trait |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php |
Converts empty reference values for entity reference items. |
EntityReferenceFieldItemNormalizerTrait.php |
file |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php |
|
EntityReferenceFieldItemNormalizerTrait::fieldItemReferencesTaxonomyTerm |
function |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php |
Determines if a field item references a taxonomy term. |
EntityReferenceFieldItemNormalizerTrait::normalizeRootReferenceValue |
function |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizerTrait.php |
|
EntityReferenceFieldNormalizer |
class |
core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php |
Normalizer class specific for entity reference field objects. |
EntityReferenceFieldNormalizer.php |
file |
core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php |
|
EntityReferenceFieldNormalizer::getRelationshipLinks |
function |
core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php |
Gets the links for the relationship. |
EntityReferenceFieldNormalizer::getSupportedTypes |
function |
core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php |
|
EntityReferenceFieldNormalizer::hasNonInternalResourceType |
function |
core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php |
Determines if a given list of resource types contains a non-internal type. |
EntityReferenceFieldNormalizer::normalize |
function |
core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php |
|
EntityReferenceFieldTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Tests for the entity reference field. |
EntityReferenceFieldTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
|
EntityReferenceFieldTest::$bundle |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
The bundle used in this test. |
EntityReferenceFieldTest::$entityType |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
The entity type used in this test. |
EntityReferenceFieldTest::$fieldName |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
The name of the field used in this test. |
EntityReferenceFieldTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Modules to install. |
EntityReferenceFieldTest::$referencedEntityType |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
The entity type that is being referenced. |
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::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
|
EntityReferenceFieldTest::testAutocreateApi |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Tests all the possible ways to autocreate an entity via the API. |
EntityReferenceFieldTest::testEntityReferenceFieldDependencies |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Tests the dependencies entity reference fields are created with. |
EntityReferenceFieldTest::testEntityReferenceFieldValidation |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Tests reference field validation. |
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. |
EntityReferenceFieldTest::testTargetEntityNoLoad |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Tests that the target entity is not unnecessarily loaded. |
EntityReferenceFieldTest::testTargetEntityTypeMissing |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Tests exception thrown with a missing target entity type. |
EntityReferenceFieldTranslatedReferenceViewTest |
class |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
Tests the translation of entity reference field display on nodes. |
EntityReferenceFieldTranslatedReferenceViewTest.php |
file |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
|
EntityReferenceFieldTranslatedReferenceViewTest::$baseLangcode |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
The langcode of the source language. |
EntityReferenceFieldTranslatedReferenceViewTest::$defaultTheme |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
The theme to install as the default for testing. |
EntityReferenceFieldTranslatedReferenceViewTest::$labelOfNotTranslatedReference |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
The label of the untranslated referenced entity, used in assertions. |
EntityReferenceFieldTranslatedReferenceViewTest::$modules |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
Modules to install. |
EntityReferenceFieldTranslatedReferenceViewTest::$originalLabel |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
The original label of the referenced entity, used in assertions. |