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
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::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
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
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
ResponsiveImageStyleResourceTestBase::getNormalizedPostEntity function core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php
RestResourceConfig::normalizeRestMethod function core/modules/rest/src/Entity/RestResourceConfig.php Normalizes the method.
RestResourceConfigResourceTestBase::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php
RestResourceConfigResourceTestBase::getNormalizedPostEntity function core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php
RestResourceConfigTest::testNormalizeRestMethod function core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php Asserts that rest methods are normalized to upper case.
RoleResourceTestBase::getExpectedNormalizedEntity function core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
RoleResourceTestBase::getNormalizedPostEntity function core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
Schema::getNormalizedIndexes function core/modules/mysql/src/Driver/Database/mysql/Schema.php Gets normalized indexes from a table specification.
SearchPageResourceTestBase::getExpectedNormalizedEntity function core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php
SearchPageResourceTestBase::getNormalizedPostEntity function core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php
SearchQuery::$normalize property core/modules/search/src/SearchQuery.php Multiplier to normalize the keyword score.
SearchQuery::prepareAndNormalize function core/modules/search/src/SearchQuery.php Prepares the query and calculates the normalization factor.
serialization.normalizer.field service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\FieldNormalizer
serialization.normalizer.field_item service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\FieldItemNormalizer
SerializationTestNormalizer class core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php
SerializationTestNormalizer.php file core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php
SerializationTestNormalizer::$format property core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php The format that this Normalizer supports.
SerializationTestNormalizer::getSupportedTypes function core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php
SerializationTestNormalizer::normalize function core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php

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