You are here

public function ResourceFieldInterface::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.

3 methods override ResourceFieldInterface::render()
ResourceField::render in src/Plugin/resource/Field/ResourceField.php
Gets the value of a field and applies all process callbacks to it.
ResourceFieldEntity::render in src/Plugin/resource/Field/ResourceFieldEntity.php
Gets the value of a field and applies all process callbacks to it.
ResourceFieldResource::render in src/Plugin/resource/Field/ResourceFieldResource.php
Gets the value of a field and applies all process callbacks to it.

File

src/Plugin/resource/Field/ResourceFieldInterface.php, line 242
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldInterface.

Class

ResourceFieldInterface

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function render(DataInterpreterInterface $interpreter);