Search for normalize

  1. Search 7.x for normalize
  2. Search 8.9.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
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.
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::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 enable.
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.
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.
RestResourceConfigResourceTestBase::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php Returns the expected normalization of the entity.
RestResourceConfigResourceTestBase::getNormalizedPostEntity function core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php Returns the normalized POST entity.
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 Returns the expected normalization of the entity.
RoleResourceTestBase::getNormalizedPostEntity function core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php Returns the normalized POST entity.
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 Returns the expected normalization of the entity.
SearchPageResourceTestBase::getNormalizedPostEntity function core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php Returns the normalized POST entity.
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::normalize function core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php Normalizes an object into a set of arrays/scalars.
SerializationTestNormalizer::supportsNormalization function core/modules/serialization/tests/serialization_test/src/SerializationTestNormalizer.php Checks whether format is supported by this normalizer.
SerializedColumnNormalizerTrait trait core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php A trait providing methods for serialized columns.
SerializedColumnNormalizerTrait.php file core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php
SerializedColumnNormalizerTrait::checkForSerializedStrings function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Checks if there is a serialized string for a column.
SerializedColumnNormalizerTrait::dataHasStringForSerializeColumn function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Checks if the data contains string value for serialize column.
SerializedColumnNormalizerTrait::getCustomSerializedPropertyNames function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Gets the names of all properties the plugin treats as serialized data.
SerializedColumnNormalizerTrait::getSerializedPropertyNames function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Gets the names of all serialized properties.

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