public function ResourceField::render in RESTful 7.2
Gets the value of a field and applies all process callbacks to it.
Parameters
DataInterpreterInterface $interpreter: The data interpreter.
Return value
mixed The value to render.
Overrides ResourceFieldInterface::render
File
- src/
Plugin/ resource/ Field/ ResourceField.php, line 188 - Contains \Drupal\restful\Plugin\resource\ResourceField.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function render(DataInterpreterInterface $interpreter) {
return $this
->executeProcessCallbacks($this
->value($interpreter));
}