You are here

public function MyModuleBookResourceController::read in RESTful Web Services 7.2

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

Overrides RestWSResourceControllerInterface::read

See also

RestWSResourceControllerInterface::read()

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 read($id) {
  return mymodule_book_load($id);
}