function JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat

Format that should be used when performing test normalizations.

1 call to JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat()
JsonSchemaTestTrait::getNormalizationForValue in core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php
Get the normalization for a value.
1 method overrides JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat()
JsonApiJsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat in core/modules/jsonapi/tests/src/Traits/JsonApiJsonSchemaTestTrait.php

File

core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php, line 23

Class

JsonSchemaTestTrait
Trait for testing JSON Schema validity and fit to sample data.

Namespace

Drupal\Tests\serialization\Traits

Code

protected function getJsonSchemaTestNormalizationFormat() : ?string {
    return NULL;
}

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