You are here

protected function DataProviderResource::initDataInterpreter in RESTful 7.2

Get the data interpreter.

Parameters

mixed $identifier: The ID of thing being viewed.

Return value

\Drupal\restful\Plugin\resource\DataInterpreter\DataInterpreterInterface The data interpreter.

Overrides DataProvider::initDataInterpreter

File

src/Plugin/resource/DataProvider/DataProviderResource.php, line 150
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderResource.

Class

DataProviderResource
This data provider creates a resource and uses it to access the data.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

protected function initDataInterpreter($identifier) {
  return NULL;
}