protected property ResourceFieldBase::$accessCallbacks in RESTful 7.2
An array of callbacks to determine if user has access to the property. Note that this callback is on top of the access provided by entity API, and is used for convenience, where for example write operation on a property should be denied only on certain request conditions. The Passed arguments are:
- op: The operation that access should be checked for. Can be "view" or "edit".
- public_field_name: The name of the public field.
- property_wrapper: The wrapped property.
- wrapper: The wrapped entity.
Type: array
File
- src/
Plugin/ resource/ Field/ ResourceFieldBase.php, line 55 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
protected $accessCallbacks = array();