Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As is, the Services API can be used to query information about Case Tracker cases. However, numeric csids are returned for the three state realms, and there doesn't seem to be a way to map these csids into text descriptions via Services API.
Attached is a patch that adds a simple Service to Case Tracker, providing the mapping between csid and state name.
Comment | File | Size | Author |
---|---|---|---|
#2 | casetracker-services-01.patch | 1.51 KB | smokris |
casetracker-services-00.patch | 1.45 KB | smokris |
Comments
Comment #1
smokris(fix title)
Comment #2
smokrisAdded '#access arguments' to service definition.