It'd be great to have views integration with State Flow Schedule to be able to display the scheduled transition date and also the scheduled event.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bmcmurray’s picture

Attached is a patch that adds VIews support for State Flow Schedule. It does depend on a change to the base StateMachine class in base.inc -- making the get_event() function public instead of protected. For consistency I also made get_state() public.

fmitchell’s picture

Status: Active » Needs work

Need to check the objects before assuming. Getting error:

PHP Fatal error: Call to a member function get_options() on a non-object in /state_machine/modules/state_flow_schedule/includes/views/state_flow_schedule_handler_field_state_machine_event.inc on line 11

bleen’s picture

Status: Needs work » Needs review
FileSize
580 bytes

This patch fixes the error mentioned in #2

azinck’s picture

Field and filters should be attached via revision ID, not nid.

fmitchell’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)