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
FilterFormatResourceTestBase::getNormalizedPostEntity function core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php Returns the normalized POST entity.
FilterKernelTest::assertNoNormalized function core/modules/filter/tests/src/Kernel/FilterKernelTest.php Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string.
FilterKernelTest::assertNormalized function core/modules/filter/tests/src/Kernel/FilterKernelTest.php Asserts that a text transformed to lowercase with HTML entities decoded does contains a given string.
GraphTest::normalizeGraph function core/tests/Drupal/Tests/Component/Graph/GraphTest.php Normalizes a graph.
Html::normalize function core/lib/Drupal/Component/Utility/Html.php Normalizes an HTML snippet.
HttpExceptionNormalizer class core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php Normalizes an HttpException in compliance with the JSON:API specification.
HttpExceptionNormalizer.php file core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php
HttpExceptionNormalizer::$currentUser property core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php The current user making the request.
HttpExceptionNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php The interface or class that this Normalizer supports.
HttpExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php Builds the normalized JSON:API error objects for the response.
HttpExceptionNormalizer::getInfoUrl function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php Return a string to the common problem type.
HttpExceptionNormalizer::normalize function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php
HttpExceptionNormalizer::__construct function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php HttpExceptionNormalizer constructor.
HttpExceptionNormalizerTest class core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\HttpExceptionNormalizer
@group jsonapi
HttpExceptionNormalizerTest.php file core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php
HttpExceptionNormalizerTest::testNormalize function core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php @covers ::normalize
HttpExceptionNormalizerValue class core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php Helps normalize exceptions in compliance with the JSON:API spec.
HttpExceptionNormalizerValue.php file core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php
ImageStyleResourceTestBase::getExpectedNormalizedEntity function core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php Returns the expected normalization of the entity.
ImageStyleResourceTestBase::getNormalizedPostEntity function core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php Returns the normalized POST entity.
ItemHalJsonTestBase::getExpectedNormalizedEntity function core/modules/aggregator/tests/src/Functional/Hal/ItemHalJsonTestBase.php Returns the expected normalization of the entity.
ItemHalJsonTestBase::getNormalizedPostEntity function core/modules/aggregator/tests/src/Functional/Hal/ItemHalJsonTestBase.php Returns the normalized POST entity.
ItemResourceTestBase::getExpectedNormalizedEntity function core/modules/aggregator/tests/src/Functional/Rest/ItemResourceTestBase.php Returns the expected normalization of the entity.
ItemResourceTestBase::getNormalizedPostEntity function core/modules/aggregator/tests/src/Functional/Rest/ItemResourceTestBase.php Returns the normalized POST entity.
JsonApiDocumentTopLevelNormalizer class core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Normalizes the top-level document according to the JSON:API specification.
JsonApiDocumentTopLevelNormalizer.php file core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
JsonApiDocumentTopLevelNormalizer::$entityTypeManager property core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php The entity type manager.
JsonApiDocumentTopLevelNormalizer::$resourceTypeRepository property core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php The JSON:API resource type repository.
JsonApiDocumentTopLevelNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php The interface or class that this Normalizer supports.
JsonApiDocumentTopLevelNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
JsonApiDocumentTopLevelNormalizer::getLinkHash function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Hashes an omitted link.
JsonApiDocumentTopLevelNormalizer::normalize function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
JsonApiDocumentTopLevelNormalizer::normalizeErrorDocument function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Normalizes an error collection.
JsonApiDocumentTopLevelNormalizer::normalizeOmissionsLinks function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Normalizes omitted data into a set of omission links.
JsonApiDocumentTopLevelNormalizer::validateRequestBody function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Performs minimal validation of the document.
JsonApiDocumentTopLevelNormalizer::__construct function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Constructs a JsonApiDocumentTopLevelNormalizer object.
JsonApiDocumentTopLevelNormalizerTest class core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\JsonApiDocumentTopLevelNormalizer
@group jsonapi
JsonApiDocumentTopLevelNormalizerTest class core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\JsonApiDocumentTopLevelNormalizer
@group jsonapi
JsonApiDocumentTopLevelNormalizerTest.php file core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php
JsonApiDocumentTopLevelNormalizerTest.php file core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php
JsonApiDocumentTopLevelNormalizerTest::$includeResolver property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php The include resolver.
JsonApiDocumentTopLevelNormalizerTest::$modules property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Modules to enable.
JsonApiDocumentTopLevelNormalizerTest::$node property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php A node to normalize.
JsonApiDocumentTopLevelNormalizerTest::$normalizer property core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php The normalizer under test.
JsonApiDocumentTopLevelNormalizerTest::$user property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php A user to normalize.
JsonApiDocumentTopLevelNormalizerTest::decorateRequest function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Decorates a request with sparse fieldsets and includes.
JsonApiDocumentTopLevelNormalizerTest::denormalizeProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Data provider for the denormalize test.
JsonApiDocumentTopLevelNormalizerTest::denormalizeUuidProvider function core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Provides test cases for testDenormalizeUuid.
JsonApiDocumentTopLevelNormalizerTest::denormalizeUuidProviderBuilder function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php We cannot use a PHPUnit data provider because our data depends on $this.
JsonApiDocumentTopLevelNormalizerTest::generateProphecies function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Generates the prophecies for the mocked entity request.

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