FieldNormalizer::$format

Same name in other branches
  1. 9 core/modules/hal/src/Normalizer/FieldNormalizer.php \Drupal\hal\Normalizer\FieldNormalizer::format

Type: format

Overrides NormalizerBase::$format

File

core/modules/hal/src/Normalizer/FieldNormalizer.php, line 16

Class

FieldNormalizer
Converts the Drupal field structure to HAL array structure.

Namespace

Drupal\hal\Normalizer

Code

protected $format = [
    'hal_json',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.