You are here

public function ResourceFieldEntity::setCallback in RESTful 7.2

Parameters

mixed $callback:

Overrides ResourceFieldInterface::setCallback

File

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

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

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