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 11.x for normalize
  5. Other projects
Title Object type File name Summary
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::hasCacheableSupportsMethod 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::buildEmptyNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Builds the empty normalization structure for cache misses.
ResourceObjectNormalizer::getNormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Normalizes an entity using the given fieldset.
ResourceObjectNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::normalize function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizer::serializeField function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Serializes a given field.
ResourceObjectNormalizer::supportsDenormalization function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()
ResourceObjectNormalizer::__construct function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Constructs a ResourceObjectNormalizer object.
ResourceObjectNormalizerCacherTest class core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php @coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher
@group jsonapi
ResourceObjectNormalizerCacherTest.php file core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceObjectNormalizerCacherTest::$cacher property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The object under test.
ResourceObjectNormalizerCacherTest::$modules property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Modules to install.
ResourceObjectNormalizerCacherTest::$resourceTypeRepository property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API resource type repository.
ResourceObjectNormalizerCacherTest::$serializer property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API serializer.
ResourceObjectNormalizerCacherTest::setUp function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Tests that link normalization cache information is not lost.
ResourceObjectNormalizerCacherTest::testMaxAgeCorrection function core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php Tests that normalization max-age is correct.
ResourceTestBase::normalize function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Generates a JSON:API normalization for the given entity.
ResponsiveImageStyleResourceTestBase::getExpectedNormalizedEntity function core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php Returns the expected normalization of the entity.
ResponsiveImageStyleResourceTestBase::getNormalizedPostEntity function core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php Returns the normalized POST entity.
RestResourceConfig::normalizeRestMethod function core/modules/rest/src/Entity/RestResourceConfig.php Normalizes the method.

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