function SchematicNormalizerHelperTrait::checkFormat

File

core/modules/serialization/src/Normalizer/SchematicNormalizerHelperTrait.php, line 39

Class

SchematicNormalizerHelperTrait

Namespace

Drupal\serialization\Normalizer

Code

protected function checkFormat($format = NULL) {
    if ($format === 'json_schema') {
        return TRUE;
    }
    return parent::checkFormat($format);
}

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