public function ResourceDecoratorBase::view in RESTful 7.2
Basic implementation for view.
Parameters
string $path: The resource path.
Return value
array An array of structured data for the things being viewed.
Overrides ResourceInterface::view
1 method overrides ResourceDecoratorBase::view()
- CacheDecoratedResource::view in src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php - Basic implementation for view.
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php, line 177 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.
Class
- ResourceDecoratorBase
- Class ResourceDecoratorBase.
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function view($path) {
return $this->subject
->view($path);
}