public function JsonBlueprintDenormalizer::supportsDenormalization in Subrequests 8.2
Same name and namespace in other branches
- 8 src/Normalizer/JsonBlueprintDenormalizer.php \Drupal\subrequests\Normalizer\JsonBlueprintDenormalizer::supportsDenormalization()
- 3.x src/Normalizer/JsonBlueprintDenormalizer.php \Drupal\subrequests\Normalizer\JsonBlueprintDenormalizer::supportsDenormalization()
File
- src/
Normalizer/ JsonBlueprintDenormalizer.php, line 84
Class
- JsonBlueprintDenormalizer
- Denormalizer that builds the blueprint based on the incoming blueprint.
Namespace
Drupal\subrequests\NormalizerCode
public function supportsDenormalization($data, $type, $format = NULL) {
return $format === 'json' && $type === SubrequestsTree::class && is_array($data) && !static::arrayIsKeyed($data);
}