You are here

protected property ResourceFieldEntity::$wrapperMethod in RESTful 7.2

The wrapper's method name to perform on the field. This can be used for example to get the entity label, by setting the value to "label". Defaults to "value".

Type: string

File

src/Plugin/resource/Field/ResourceFieldEntity.php, line 71
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntity

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

protected $wrapperMethod = 'value';