public function DataInterpreterInterface::getWrapper in RESTful 7.2
Get the wrapper.
Return value
mixed The entity metadata wrapper describing the entity. Every data source will return a different wrapper type. For instance a data source for entities will return an \EntityDrupalWrapper, a data source for DB query will return a DatabaseColumnWrapper, etc.
1 method overrides DataInterpreterInterface::getWrapper()
- DataInterpreterBase::getWrapper in src/
Plugin/ resource/ DataInterpreter/ DataInterpreterBase.php - Get the wrapper.
File
- src/
Plugin/ resource/ DataInterpreter/ DataInterpreterInterface.php, line 29 - Contains \Drupal\restful\Plugin\resource\DataInterpreter\DataInterpreterInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataInterpreterCode
public function getWrapper();