You are here

public function ResourceFieldEnhancerInterface::postProcess in JSON:API Extras 8

Apply the last transformations to the output value of a single field.

Parameters

mixed $value: The value to be processed after being prepared for output.

Return value

mixed The value after being post processed.

3 methods override ResourceFieldEnhancerInterface::postProcess()
DateTimeEnhancerBase::postProcess in src/Plugin/DateTimeEnhancerBase.php
Apply the last transformations to the output value of a single field.
SingleNestedEnhancer::postProcess in src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php
Apply the last transformations to the output value of a single field.
UuidLinkEnhancer::postProcess in src/Plugin/jsonapi/FieldEnhancer/UuidLinkEnhancer.php
Apply the last transformations to the output value of a single field.

File

src/Plugin/ResourceFieldEnhancerInterface.php, line 21

Class

ResourceFieldEnhancerInterface
Provides an interface defining a ResourceFieldEnhancer entity.

Namespace

Drupal\jsonapi_extras\Plugin

Code

public function postProcess($value);