You are here

public function ResourceFieldBase::setCallback in RESTful 7.2

Parameters

mixed $callback:

Overrides ResourceFieldInterface::setCallback

File

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

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setCallback($callback) {
  $this->callback = $callback;
}