You are here

public function ResourceFieldResource::setCallback in RESTful 7.2

Parameters

mixed $callback:

Overrides ResourceFieldInterface::setCallback

File

src/Plugin/resource/Field/ResourceFieldResource.php, line 257
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldResource.

Class

ResourceFieldResource

Namespace

Drupal\restful\Plugin\resource\Field

Code

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