Search for normalize
- Search 7.x for normalize
- Search 9.5.x for normalize
- Search 8.9.x for normalize
- Search 10.3.x for normalize
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ExternalNormalizersTest::$modules | property | core/ |
Modules to install. |
ExternalNormalizersTest::providerTestFormatAgnosticNormalizers | function | core/ |
Data provider. |
ExternalNormalizersTest::setUp | function | core/ |
|
ExternalNormalizersTest::testFormatAgnosticNormalizers | function | core/ |
Tests a format-agnostic normalizer. |
ExternalNormalizersTest::VALUE_ORIGINAL | constant | core/ |
The original value for the test field. |
ExternalNormalizersTest::VALUE_OVERRIDDEN | constant | core/ |
The expected overridden value for the test field. |
FieldableEntityNormalizerTrait | trait | core/ |
A trait for providing fieldable entity normalization/denormalization methods. |
FieldableEntityNormalizerTrait.php | file | core/ |
|
FieldableEntityNormalizerTrait::$entityFieldManager | property | core/ |
The entity field manager. |
FieldableEntityNormalizerTrait::$entityTypeManager | property | core/ |
The entity type manager. |
FieldableEntityNormalizerTrait::$entityTypeRepository | property | core/ |
The entity type repository. |
FieldableEntityNormalizerTrait::constructValue | function | core/ |
Build the field item value using the incoming data. |
FieldableEntityNormalizerTrait::denormalizeFieldData | function | core/ |
Denormalizes entity data by denormalizing each field individually. |
FieldableEntityNormalizerTrait::determineEntityTypeId | function | core/ |
Determines the entity type ID to denormalize as. |
FieldableEntityNormalizerTrait::extractBundleData | function | core/ |
Denormalizes the bundle property so entity creation can use it. |
FieldableEntityNormalizerTrait::getEntityFieldManager | function | core/ |
Returns the entity field manager. |
FieldableEntityNormalizerTrait::getEntityTypeDefinition | function | core/ |
Gets the entity type definition. |
FieldableEntityNormalizerTrait::getEntityTypeManager | function | core/ |
Returns the entity type manager. |
FieldableEntityNormalizerTrait::getEntityTypeRepository | function | core/ |
Returns the entity type repository. |
FieldConfigResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
FieldConfigResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
FieldEntitySettingsTest::testEntityReferenceSettingsNormalized | function | core/ |
Tests entity reference settings are normalized on field creation and save. |
FieldInputValueNormalizerTrait | trait | core/ |
A trait used to assist in the normalization of raw input field values. |
FieldInputValueNormalizerTrait.php | file | core/ |
|
FieldInputValueNormalizerTrait::normalizeValue | function | core/ |
Ensure a field value is transformed into a format keyed by delta. |
FieldInputValueNormalizerTraitTest | class | core/ |
@coversDefaultClass \Drupal\Core\Field\FieldInputValueNormalizerTrait @group Field |
FieldInputValueNormalizerTraitTest.php | file | core/ |
|
FieldInputValueNormalizerTraitTest::keyValueByDeltaTestCases | function | core/ |
Provides test cases for ::testKeyValueByDelta. |
FieldInputValueNormalizerTraitTest::testKeyValueByDelta | function | core/ |
@dataProvider keyValueByDeltaTestCases @covers ::normalizeValue |
FieldInputValueNormalizerTraitTest::testKeyValueByDeltaUndefinedVariables | function | core/ |
@covers ::normalizeValue |
FieldInputValueNormalizerTraitTest::testScalarWithNoMainProperty | function | core/ |
@covers ::normalizeValue |
FieldItemNormalizer | class | core/ |
Converts the Drupal field item object to a JSON:API array structure. |
FieldItemNormalizer | class | core/ |
Denormalizes field item object structure by updating the entity field values. |
FieldItemNormalizer.php | file | core/ |
|
FieldItemNormalizer.php | file | core/ |
|
FieldItemNormalizer::$entityTypeManager | property | core/ |
The entity type manager. |
FieldItemNormalizer::denormalize | function | core/ |
|
FieldItemNormalizer::denormalize | function | core/ |
|
FieldItemNormalizer::getAlternatives | function | core/ |
Provides alternatives for a given array and key. |
FieldItemNormalizer::getFieldItemInstance | function | core/ |
Gets a field item instance for use with SerializedColumnNormalizerTrait. |
FieldItemNormalizer::getSupportedTypes | function | core/ |
|
FieldItemNormalizer::getSupportedTypes | function | core/ |
|
FieldItemNormalizer::normalize | function | core/ |
This normalizer leaves JSON:API normalizer land and enters the land of Drupal core's serialization system. That system was never designed with cacheability in mind, and hence bubbles cacheability out of band. This must catch it, and pass it to… |
FieldItemNormalizer::__construct | function | core/ |
FieldItemNormalizer constructor. |
FieldItemNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Normalizer\FieldItemNormalizer @group jsonapi |
FieldItemNormalizerTest.php | file | core/ |
|
FieldItemNormalizerTest::$modules | property | core/ |
Modules to install. |
FieldItemNormalizerTest::$normalizer | property | core/ |
The normalizer. |
FieldItemNormalizerTest::setUp | function | core/ |
|
FieldItemNormalizerTest::testNormalizeFieldItem | function | core/ |
Tests normalizing field item. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.