You are here

public function ResourceFieldBase::getCallback in RESTful 7.2

Return value

mixed

Overrides ResourceFieldInterface::getCallback

1 call to ResourceFieldBase::getCallback()
ResourceField::value in src/Plugin/resource/Field/ResourceField.php
Gets the value for the field given a data source.

File

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

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function getCallback() {
  return $this->callback;
}