You are here

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

2 methods override ResourceInterface::process()
Resource::process in src/Plugin/resource/Resource.php
Controller function that passes the data along and executes right action.
ResourceDecoratorBase::process in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Controller function that passes the data along and executes right action.

File

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

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function process();