You are here

public function ConfigFieldItemNormalizerValue::__construct in JSON:API 8

Instantiate a ConfigFieldItemNormalizerValue object.

Parameters

mixed $values: The normalized result.

Overrides FieldItemNormalizerValue::__construct

File

src/Normalizer/Value/ConfigFieldItemNormalizerValue.php, line 25

Class

ConfigFieldItemNormalizerValue
Helps normalize config entity "fields" in compliance with the JSON API spec.

Namespace

Drupal\jsonapi\Normalizer\Value

Code

public function __construct($values) {
  $this->raw = $values;
}