You are here

public function ResourceInterface::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.

2 methods override ResourceInterface::access()
Resource::access in src/Plugin/resource/Resource.php
Determine if user can access the handler.
ResourceDecoratorBase::access in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Determine if user can access the handler.

File

src/Plugin/resource/ResourceInterface.php, line 297
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function access();