public function DataInterpreterBase::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.
Overrides DataInterpreterInterface::getWrapper
1 call to DataInterpreterBase::getWrapper()
- DataInterpreterEMW::getWrapper in src/
Plugin/ resource/ DataInterpreter/ DataInterpreterEMW.php - Returns the \EntityDrupalWrapper.
1 method overrides DataInterpreterBase::getWrapper()
- DataInterpreterEMW::getWrapper in src/
Plugin/ resource/ DataInterpreter/ DataInterpreterEMW.php - Returns the \EntityDrupalWrapper.
File
- src/
Plugin/ resource/ DataInterpreter/ DataInterpreterBase.php, line 49 - Contains \Drupal\restful\Plugin\resource\DataInterpreter\DataInterpreter.
Class
Namespace
Drupal\restful\Plugin\resource\DataInterpreterCode
public function getWrapper() {
return $this->wrapper;
}