abstract protected function DataProvider::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.
1 call to DataProvider::initDataInterpreter()
- DataProvider::initResourceFieldCollection in src/
Plugin/ resource/ DataProvider/ DataProvider.php - Initialize the empty resource field collection to bundle the output.
6 methods override DataProvider::initDataInterpreter()
- DataProviderDbQuery::initDataInterpreter in src/
Plugin/ resource/ DataProvider/ DataProviderDbQuery.php - Get the data interpreter.
- DataProviderEntity::initDataInterpreter in src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php - Get the data interpreter.
- DataProviderNull::initDataInterpreter in src/
Plugin/ resource/ DataProvider/ DataProviderNull.php - Get the data interpreter.
- DataProviderPlug::initDataInterpreter in src/
Plugin/ resource/ DataProvider/ DataProviderPlug.php - Get the data interpreter.
- DataProviderResource::initDataInterpreter in src/
Plugin/ resource/ DataProvider/ DataProviderResource.php - Get the data interpreter.
File
- src/
Plugin/ resource/ DataProvider/ DataProvider.php, line 592 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProvider.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
protected abstract function initDataInterpreter($identifier);