public function ResourceDecoratorBase::getDecoratedResource in RESTful 7.2
Gets the decorated resource.
Return value
ResourceInterface The underlying resource.
Overrides ResourceDecoratorInterface::getDecoratedResource
1 call to ResourceDecoratorBase::getDecoratedResource()
- ResourceDecoratorBase::getPrimaryResource in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Gets the primary resource, the one that is not a decorator.
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php, line 37 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.
Class
- ResourceDecoratorBase
- Class ResourceDecoratorBase.
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function getDecoratedResource() {
return $this->subject;
}