You are here

protected property NormalizerBase::$format in Drupal 8

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

Code

protected $format = [
  'hal_json',
];