You are here

public function MyModuleBookResourceController::resource in RESTful Web Services 7

Same name and namespace in other branches
  1. 7.2 restws.api.php \MyModuleBookResourceController::resource()

Overrides RestWSResourceControllerInterface::resource

See also

RestWSResourceControllerInterface::resource()

File

./restws.api.php, line 224
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Class

MyModuleBookResourceController
Example controller class for the mymodule_book resource.

Code

public function resource() {
  return 'mymodule_book';
}