public function JSONFieldEnhancer::doUndoTransform in JSON:API Extras 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/jsonapi/FieldEnhancer/JSONFieldEnhancer.php \Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer\JSONFieldEnhancer::doUndoTransform()
File
- src/
Plugin/ jsonapi/ FieldEnhancer/ JSONFieldEnhancer.php, line 63
Class
- JSONFieldEnhancer
- Perform additional manipulations to JSON fields.
Namespace
Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancerCode
public function doUndoTransform($data, Context $context) {
return $this->encoder
->decode($data);
}