You are here

public function ResourceFieldCollection::setInterpreter in RESTful 7.2

Sets the data interpreter.

Parameters

DataInterpreterInterface $interpreter: The interpreter.

Overrides ResourceFieldCollectionInterface::setInterpreter

File

src/Plugin/resource/Field/ResourceFieldCollection.php, line 233
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldCollection.

Class

ResourceFieldCollection

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setInterpreter($interpreter) {
  $this->interpreter = $interpreter;
}