You are here

protected property NormalizerBase::$format in Drupal 9

Same name in this branch
  1. 9 core/modules/jsonapi/src/Normalizer/NormalizerBase.php \Drupal\jsonapi\Normalizer\NormalizerBase::format
  2. 9 core/modules/hal/src/Normalizer/NormalizerBase.php \Drupal\hal\Normalizer\NormalizerBase::format
  3. 9 core/modules/serialization/src/Normalizer/NormalizerBase.php \Drupal\serialization\Normalizer\NormalizerBase::format
Same name and namespace in other branches
  1. 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\Normalizer

Code

protected $format = [
  'hal_json',
];