protected property NormalizerBase::$format in Drupal 8
Same name in this branch
- 8 core/modules/jsonapi/src/Normalizer/NormalizerBase.php \Drupal\jsonapi\Normalizer\NormalizerBase::format
- 8 core/modules/hal/src/Normalizer/NormalizerBase.php \Drupal\hal\Normalizer\NormalizerBase::format
- 8 core/modules/serialization/src/Normalizer/NormalizerBase.php \Drupal\serialization\Normalizer\NormalizerBase::format
Same name and namespace in other branches
- 9 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',
];