You are here

protected property ResourceFieldEntity::$wrapperMethodOnEntity in RESTful 7.2

A Boolean to indicate on what to perform the wrapper method. If TRUE the method will perform on the entity (e.g. $wrapper->label()) and FALSE on the property or sub property (e.g. $wrapper->field_reference->label()).

Type: bool

File

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

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

protected $wrapperMethodOnEntity = FALSE;