public function RestWSEntityResourceController::resource in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.entity.inc \RestWSEntityResourceController::resource()
Returns the name of the resource.
Overrides RestWSResourceControllerInterface::resource
File
- ./
restws.entity.inc, line 191 - RESTful web services module integration for entities.
Class
- RestWSEntityResourceController
- Controller for entity-bases resources.
Code
public function resource() {
return $this->entityType;
}