Search for normalize

  1. Search 7.x for normalize
  2. Search 9.5.x for normalize
  3. Search 10.3.x for normalize
  4. Search 11.x for normalize
  5. Other projects
Title Object type File name Summary
PrimitiveDataNormalizer.php file core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php
PrimitiveDataNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php The interface or class that this Normalizer supports.
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
RdfMappingResourceTestBase::getExpectedNormalizedEntity function core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php Returns the expected normalization of the entity.
RdfMappingResourceTestBase::getNormalizedPostEntity function core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php Returns the normalized POST entity.
RegisterSerializationClassesCompilerPass::normalizerBcSettingIsEnabled function core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php Returns whether a normalizer BC setting is disabled or not.
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::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php The interface or class that this Normalizer supports.
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::$imageIds 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 enable.
RelationshipNormalizerTest::$referencerId property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Static UUID for the referencing entity.
RelationshipNormalizerTest::$userIds property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php Static UUIDs 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::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php The interface or class that this Normalizer supports.
ResourceIdentifierNormalizer::denormalize 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
ResourceIdentifierNormalizer::__construct function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php RelationshipNormalizer constructor.
ResourceIdentifierNormalizerTest class core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\ResourceIdentifierNormalizer
@group jsonapi
ResourceIdentifierNormalizerTest.php file core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php
ResourceIdentifierNormalizerTest::$normalizer property core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php The normalizer under test.
ResourceIdentifierNormalizerTest::$resourceType property core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php The base resource type for testing.
ResourceIdentifierNormalizerTest::denormalizeInvalidResourceProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php Data provider for the denormalize test.
ResourceIdentifierNormalizerTest::denormalizeProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php Data provider for the denormalize test.
ResourceIdentifierNormalizerTest::setUp function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php
ResourceIdentifierNormalizerTest::testDenormalize function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @covers ::denormalize
@dataProvider denormalizeProvider
ResourceIdentifierNormalizerTest::testDenormalizeInvalidResource function core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @covers ::denormalize
@dataProvider denormalizeInvalidResourceProvider
ResourceObjectNormalizer class core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Converts the JSON:API module ResourceObject into a JSON:API array structure.
ResourceObjectNormalizer.php file core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::$cacher property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php The entity normalization cacher.
ResourceObjectNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php The interface or class that this Normalizer supports.

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