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
NullNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php
NullNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php @covers ::normalize
NullNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php @covers ::__construct
@covers ::supportsNormalization
OperationData::normalizeScaffoldMetadata function composer/Plugin/Scaffold/Operations/OperationData.php Normalizes metadata by converting literal values into arrays.
PathAliasResourceTestBase::getExpectedNormalizedEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Returns the expected normalization of the entity.
PathAliasResourceTestBase::getNormalizedPostEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Returns the normalized POST entity.
PhpBackend::normalizeCid function core/lib/Drupal/Core/Cache/PhpBackend.php Ensures a normalized cache ID.
PrimitiveDataNormalizer class core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php Converts primitive data objects to their casted values.
PrimitiveDataNormalizer.php file core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php
PrimitiveDataNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php
PrimitiveDataNormalizer::normalize function core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php
PrimitiveDataNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\PrimitiveDataNormalizer
@group serialization
PrimitiveDataNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php
PrimitiveDataNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php The TypedDataNormalizer instance.
PrimitiveDataNormalizerTest::dataProviderPrimitiveData function core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php Data provider for testNormalize().
PrimitiveDataNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php
PrimitiveDataNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php @covers ::normalize
@dataProvider dataProviderPrimitiveData
PrimitiveDataNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php @covers ::supportsNormalization
@dataProvider dataProviderPrimitiveData
PrimitiveDataNormalizerTest::testSupportsNormalizationFail function core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php @covers ::supportsNormalization
RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_NORMALIZER_TAG constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The service tag that only JSON:API normalizers should use.
RelationshipNormalizer class core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php Normalizes a JSON:API relationship object.
RelationshipNormalizer.php file core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php
RelationshipNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php
RelationshipNormalizer::normalize function core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php
RelationshipNormalizerTest class core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\RelationshipNormalizer
@group jsonapi
RelationshipNormalizerTest.php file core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php
RelationshipNormalizerTest::$image1 property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php An image.
RelationshipNormalizerTest::$image2 property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php An image.
RelationshipNormalizerTest::$imageIds property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Static UUIDs for use in tests.
RelationshipNormalizerTest::$imageUids property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Static UUIDs for use in tests.
RelationshipNormalizerTest::$modules property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Modules to install.
RelationshipNormalizerTest::$normalizer property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php The normalizer.
RelationshipNormalizerTest::$referencer property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php A referencer node.
RelationshipNormalizerTest::$referencerId property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Static UUID for the referencing entity.
RelationshipNormalizerTest::$referencingResourceType property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php The node type.
RelationshipNormalizerTest::$user1 property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php A user.
RelationshipNormalizerTest::$user2 property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php A user.
RelationshipNormalizerTest::$userIds property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Static UUIDs for use in tests.
RelationshipNormalizerTest::$userUids property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Static UIDs for use in tests.
RelationshipNormalizerTest::normalizeProvider function core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Data provider for testNormalize.
RelationshipNormalizerTest::setUp function core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php
RelationshipNormalizerTest::testNormalize function core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php @covers ::normalize
@dataProvider normalizeProvider
RequestHandler::getNormalizedRequestMethod function core/modules/rest/src/RequestHandler.php Gets the normalized HTTP request method of the matched route.
ResourceIdentifierNormalizer class core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php Normalizes a Relationship according to the JSON:API specification.
ResourceIdentifierNormalizer.php file core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php
ResourceIdentifierNormalizer::$fieldManager property core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php The entity field manager.
ResourceIdentifierNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php
ResourceIdentifierNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php
ResourceIdentifierNormalizer::massageRelationshipInput function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php Validates and massages the relationship input depending on the cardinality.
ResourceIdentifierNormalizer::normalize function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php

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