public function ResourceDecoratorBase::access in RESTful 7.2
Determine if user can access the handler.
Return value
bool TRUE if the current request has access to the requested resource. FALSE otherwise.
Overrides ResourceInterface::access
File
- src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php, line 254 - Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.
Class
- ResourceDecoratorBase
- Class ResourceDecoratorBase.
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function access() {
return $this->subject
->access();
}