You are here

public function RestWSEntityResourceController::propertyInfo in RESTful Web Services 7.2

Same name and namespace in other branches
  1. 7 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

1 call to RestWSEntityResourceController::propertyInfo()
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 147
RESTful web services module integration for entities.

Class

RestWSEntityResourceController
Controller for entity-bases resources.

Code

public function propertyInfo() {
  return entity_get_all_property_info($this->entityType);
}