You are here

public function DataInterpreterEMW::getWrapper in RESTful 7.2

Returns the \EntityDrupalWrapper.

Return value

\EntityDrupalWrapper The wrapper describing the entity.

Overrides DataInterpreterBase::getWrapper

File

src/Plugin/resource/DataInterpreter/DataInterpreterEMW.php, line 18
Contains \Drupal\restful\Plugin\resource\DataInterpreter\DataInterpreter.

Class

DataInterpreterEMW

Namespace

Drupal\restful\Plugin\resource\DataInterpreter

Code

public function getWrapper() {

  // Note: this is just implemented to override the docblock. Now when we call
  // DataInterpreterEMW::getWrapper we know we are getting a
  // \EntityDrupalWrapper object back.
  return parent::getWrapper();
}