public function ResourceFieldInterface::setCallback in RESTful 7.2
Parameters
mixed $callback:
3 methods override ResourceFieldInterface::setCallback()
- ResourceFieldBase::setCallback in src/
Plugin/ resource/ Field/ ResourceFieldBase.php - ResourceFieldEntity::setCallback in src/
Plugin/ resource/ Field/ ResourceFieldEntity.php - ResourceFieldResource::setCallback in src/
Plugin/ resource/ Field/ ResourceFieldResource.php
File
- src/
Plugin/ resource/ Field/ ResourceFieldInterface.php, line 57 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldInterface.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function setCallback($callback);