You are here

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

DataInterpreterBase

Namespace

Drupal\restful\Plugin\resource\DataInterpreter

Code

public function getWrapper() {
  return $this->wrapper;
}