class DataInterpreterEMW in RESTful 7.2
Hierarchy
- class \Drupal\restful\Plugin\resource\DataInterpreter\DataInterpreterBase implements DataInterpreterInterface
- class \Drupal\restful\Plugin\resource\DataInterpreter\DataInterpreterEMW implements DataInterpreterInterface
Expanded class hierarchy of DataInterpreterEMW
1 file declares its use of DataInterpreterEMW
- DataProviderEntity.php in src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderEntity.
File
- src/
Plugin/ resource/ DataInterpreter/ DataInterpreterEMW.php, line 10 - Contains \Drupal\restful\Plugin\resource\DataInterpreter\DataInterpreter.
Namespace
Drupal\restful\Plugin\resource\DataInterpreterView source
class DataInterpreterEMW extends DataInterpreterBase implements DataInterpreterInterface {
/**
* Returns the \EntityDrupalWrapper.
*
* @return \EntityDrupalWrapper
* The wrapper describing the entity.
*/
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();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DataInterpreterBase:: |
protected | property | The account. | |
DataInterpreterBase:: |
protected | property | The wrapper. | |
DataInterpreterBase:: |
public | function |
Get the account. Overrides DataInterpreterInterface:: |
|
DataInterpreterBase:: |
public | function | Constructs a DataInterpreter object. | |
DataInterpreterEMW:: |
public | function |
Returns the \EntityDrupalWrapper. Overrides DataInterpreterBase:: |