public function RestWSEntityResourceController::resource in RESTful Web Services 7.2
Same name and namespace in other branches
- 7 restws.entity.inc \RestWSEntityResourceController::resource()
Returns the name of the resource.
Overrides RestWSResourceControllerInterface::resource
2 calls to RestWSEntityResourceController::resource()
- RestWSEntityResourceController::nodeAccess in ./
restws.entity.inc - Helper function to respect node permissions while querying.
- RestWSEntityResourceController::propertyQueryOperation in ./
restws.entity.inc - Helper function which takes care of distinguishing between fields and entity properties and executes the right EntityFieldQuery function for it.
File
- ./
restws.entity.inc, line 342 - RESTful web services module integration for entities.
Class
- RestWSEntityResourceController
- Controller for entity-bases resources.
Code
public function resource() {
return $this->entityType;
}