public function ResourceFieldEntityInterface::preprocess in RESTful 7.2
Massage the value to set according to the format expected by the wrapper.
Parameters
mixed $value: The value passed in the request.
Return value
mixed The value to set using the wrapped property.
1 method overrides ResourceFieldEntityInterface::preprocess()
- ResourceFieldEntity::preprocess in src/
Plugin/ resource/ Field/ ResourceFieldEntity.php - Massage the value to set according to the format expected by the wrapper.
File
- src/
Plugin/ resource/ Field/ ResourceFieldEntityInterface.php, line 132 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntityInterface.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function preprocess($value);