public function ResourceDecoratorBase::process in RESTful 7.2
Controller function that passes the data along and executes right action.
Return value
array An structured array with the response data.
Throws
\Drupal\restful\Exception\NotImplementedException If no controller can be found.
\Drupal\restful\Exception\ForbiddenException If access is denied for the operation.
Overrides ResourceInterface::process
3 calls to ResourceDecoratorBase::process()
- ResourceDecoratorBase::doDelete in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Shorthand method to perform a quick DELETE request.
- ResourceDecoratorBase::doGet in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Shorthand method to perform a quick GET request.
- ResourceDecoratorBase::doWrite in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php
2 methods override ResourceDecoratorBase::process()
- CacheDecoratedResource::process in src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php - Controller function that passes the data along and executes right action.
- RateLimitDecoratedResource::process in src/
Plugin/ resource/ Decorators/ RateLimitDecoratedResource.php - Controller function that passes the data along and executes right action.
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php, line 149 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.
Class
- ResourceDecoratorBase
- Class ResourceDecoratorBase.
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function process() {
return $this->subject
->process();
}