EntityReferenceFieldDefaultValueTest::testEntityReferenceDefaultConfigValue |
function |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php |
Tests that dependencies due to default values can be removed. |
EntityReferenceFieldDefaultValueTest::testEntityReferenceDefaultValue |
function |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php |
Tests that default values are correctly translated to UUIDs in config. |
EntityReferenceFieldItemList |
class |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php |
Defines an item list class for entity reference fields. |
EntityReferenceFieldItemList.php |
file |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php |
|
EntityReferenceFieldItemList::defaultValuesFormSubmit |
function |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php |
Processes the submitted default value. |
EntityReferenceFieldItemList::getConstraints |
function |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php |
Gets a list of validation constraints. |
EntityReferenceFieldItemList::processDefaultValue |
function |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php |
Processes the default value before being applied. |
EntityReferenceFieldItemList::referencedEntities |
function |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php |
Gets the entities referenced by this field, preserving field item deltas. |
EntityReferenceFieldItemListInterface |
interface |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php |
Interface for entity reference lists of field items. |
EntityReferenceFieldItemListInterface.php |
file |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php |
|
EntityReferenceFieldItemListInterface::referencedEntities |
function |
core/lib/Drupal/Core/Field/EntityReferenceFieldItemListInterface.php |
Gets the entities referenced by this field, preserving field item deltas. |
EntityReferenceFieldItemNormalizer |
class |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php |
Adds the file URI to embedded file entities. |
EntityReferenceFieldItemNormalizer.php |
file |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php |
|
EntityReferenceFieldItemNormalizer::$entityRepository |
property |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php |
The entity repository. |
EntityReferenceFieldItemNormalizer::constructValue |
function |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php |
Build the field item value using the incoming data. |
EntityReferenceFieldItemNormalizer::getSupportedTypes |
function |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php |
|
EntityReferenceFieldItemNormalizer::normalize |
function |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php |
|
EntityReferenceFieldItemNormalizer::__construct |
function |
core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php |
Constructs an EntityReferenceFieldItemNormalizer object. |
EntityReferenceFieldItemNormalizerTest |
class |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@coversDefaultClass \Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer[[api-linebreak]]
@group serialization |
EntityReferenceFieldItemNormalizerTest.php |
file |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
|
EntityReferenceFieldItemNormalizerTest::$entityRepository |
property |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
The mock entity repository. |
EntityReferenceFieldItemNormalizerTest::$fieldDefinition |
property |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
The mock field definition. |
EntityReferenceFieldItemNormalizerTest::$fieldItem |
property |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
The mock field item. |
EntityReferenceFieldItemNormalizerTest::$normalizer |
property |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
The normalizer under test. |
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[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmptyUuid |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithId |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeAndUuid |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithoutType |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::denormalize[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testNormalize |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::normalize[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testNormalizeWithEmptyTaxonomyTermReference |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::normalize[[api-linebreak]] |
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[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testSupportsDenormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::supportsDenormalization[[api-linebreak]] |
EntityReferenceFieldItemNormalizerTest::testSupportsNormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php |
@covers ::supportsNormalization[[api-linebreak]] |
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 |
|