Search for normalize

  1. Search 7.x for normalize
  2. Search 9.5.x for normalize
  3. Search 8.9.x for normalize
  4. Search 10.3.x for normalize
  5. Other projects
Title Object type File name Summary
FieldItemNormalizerTest::testNormalizeFieldItemWithoutProperties function core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php Tests a field item that has no properties.
FieldItemSerializationTest::testFieldDenormalizeWithScalarValue function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Tests denormalizing using a scalar field value.
FieldItemSerializationTest::testFieldNormalizeDenormalize function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Tests normalizing and denormalizing an entity with field item normalizer.
FieldNormalizer class core/modules/serialization/src/Normalizer/FieldNormalizer.php Denormalizes data to Drupal field values.
FieldNormalizer class core/modules/jsonapi/src/Normalizer/FieldNormalizer.php Converts the Drupal field structure to a JSON:API array structure.
FieldNormalizer.php file core/modules/jsonapi/src/Normalizer/FieldNormalizer.php
FieldNormalizer.php file core/modules/serialization/src/Normalizer/FieldNormalizer.php
FieldNormalizer::denormalize function core/modules/serialization/src/Normalizer/FieldNormalizer.php
FieldNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/FieldNormalizer.php
FieldNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/FieldNormalizer.php
FieldNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/FieldNormalizer.php
FieldNormalizer::normalize function core/modules/jsonapi/src/Normalizer/FieldNormalizer.php
FieldNormalizer::normalizeFieldItems function core/modules/jsonapi/src/Normalizer/FieldNormalizer.php Helper function to normalize field items.
FieldStorageConfigResourceTestBase::getExpectedNormalizedEntity function core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php Returns the expected normalization of the entity.
FieldStorageConfigResourceTestBase::getNormalizedPostEntity function core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php Returns the normalized POST entity.
FileResourceTestBase::getExpectedNormalizedEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Returns the expected normalization of the entity.
FileResourceTestBase::getNormalizedPatchEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Returns the normalized PATCH entity.
FileResourceTestBase::getNormalizedPostEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Returns the normalized POST entity.
FileUploadResourceTestBase::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Gets the expected file entity.
FileUploadResourceTestBase::getNormalizedPostEntity function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Returns the normalized POST entity referencing the uploaded file.
FilterFormatResourceTestBase::getExpectedNormalizedEntity function core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php Returns the expected normalization of the entity.
FilterFormatResourceTestBase::getNormalizedPostEntity function core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php Returns the normalized POST entity.
FilterKernelTest::assertNoNormalized function core/modules/filter/tests/src/Kernel/FilterKernelTest.php Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string.
FilterKernelTest::assertNormalized function core/modules/filter/tests/src/Kernel/FilterKernelTest.php Asserts that a text transformed to lowercase with HTML entities decoded does contains a given string.
GraphTest::normalizeGraph function core/tests/Drupal/Tests/Component/Graph/GraphTest.php Normalizes a graph.
Html::normalize function core/lib/Drupal/Component/Utility/Html.php Normalizes an HTML snippet.
HttpExceptionNormalizer class core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php Normalizes an HttpException in compliance with the JSON:API specification.
HttpExceptionNormalizer.php file core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php
HttpExceptionNormalizer::$currentUser property core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php The current user making the request.
HttpExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php Builds the normalized JSON:API error objects for the response.
HttpExceptionNormalizer::getInfoUrl function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php Return a string to the common problem type.
HttpExceptionNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php
HttpExceptionNormalizer::normalize function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php
HttpExceptionNormalizer::__construct function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php HttpExceptionNormalizer constructor.
HttpExceptionNormalizerTest class core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\HttpExceptionNormalizer
@group jsonapi
HttpExceptionNormalizerTest.php file core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php
HttpExceptionNormalizerTest::testNormalize function core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php @covers ::normalize
HttpExceptionNormalizerValue class core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php Helps normalize exceptions in compliance with the JSON:API spec.
HttpExceptionNormalizerValue.php file core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php
ImageStyleResourceTestBase::getExpectedNormalizedEntity function core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php Returns the expected normalization of the entity.
ImageStyleResourceTestBase::getNormalizedPostEntity function core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php Returns the normalized POST entity.
Importer::verifyNormalizedLanguage function core/lib/Drupal/Core/DefaultContent/Importer.php Verifies that the site knows the default language of the normalized entity.
JsonApiDocumentTopLevelNormalizer class core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Normalizes the top-level document according to the JSON:API specification.
JsonApiDocumentTopLevelNormalizer.php file core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
JsonApiDocumentTopLevelNormalizer::$entityTypeManager property core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php The entity type manager.
JsonApiDocumentTopLevelNormalizer::$resourceTypeRepository property core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php The JSON:API resource type repository.
JsonApiDocumentTopLevelNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
JsonApiDocumentTopLevelNormalizer::getLinkHash function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Hashes an omitted link.
JsonApiDocumentTopLevelNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
JsonApiDocumentTopLevelNormalizer::normalize function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php

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