public function RestWSEntityResourceController::propertyInfo in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.entity.inc \RestWSEntityResourceController::propertyInfo()
Returns the property info for the given resource.
Return value
array An array structured as hook_entity_property_info() is structured for an entity type.
Overrides RestWSResourceControllerInterface::propertyInfo
File
- ./
restws.entity.inc, line 102 - RESTful web services module integration for entities.
Class
- RestWSEntityResourceController
- Controller for entity-bases resources.
Code
public function propertyInfo() {
return entity_get_property_info($this->entityType);
}