You are here

protected property ResourceFieldBase::$callback in RESTful 7.2

A callable callback to get a computed value. The wrapped entity is passed as argument. Defaults To FALSE. The callback function receive as first argument the entity.

Type: mixed

File

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

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

protected $callback;