protected property NormalizerBase::$format in Drupal 9
Same name in this branch
- 9 core/modules/jsonapi/src/Normalizer/NormalizerBase.php \Drupal\jsonapi\Normalizer\NormalizerBase::format
- 9 core/modules/hal/src/Normalizer/NormalizerBase.php \Drupal\hal\Normalizer\NormalizerBase::format
- 9 core/modules/serialization/src/Normalizer/NormalizerBase.php \Drupal\serialization\Normalizer\NormalizerBase::format
Same name and namespace in other branches
- 8 core/modules/hal/src/Normalizer/NormalizerBase.php \Drupal\hal\Normalizer\NormalizerBase::format
List of formats which supports (de-)normalization.
Type: string|string[]
Overrides NormalizerBase::$format
File
- core/
modules/ hal/ src/ Normalizer/ NormalizerBase.php, line 16
Class
- NormalizerBase
- Base class for Normalizers.
Namespace
Drupal\hal\NormalizerCode
protected $format = [
'hal_json',
];