Now that hook_hook_info is implemented, the code from the workflow_rules.module file can be moved into workflow_rules.workflow.inc. Unfortunately, in D7, the empty module file is required, but in D8 it isn't anymore.

Also, now that workflow_field is working, we need to port the Node API actions and conditions to their accompanying Field API variant.

Comments

johnv’s picture

Title: Move workflow_rules.module to workflow_rules.workflow.inc. (and separate submodule not needed anymore?) » Added support for Workflow Field to workflow_rules sub-module.
Status: Active » Fixed

Patch "Added support for Workflow Field to workflow_rules sub-module." is committed here.

It contains the following:
- the hook implementation is moved from the .module file to the .workflow.inc file
- Rules conditions and actions are duplicated. We now have conditions and actions for both Node API and Field API, both in their own files.
- Helper functions are adapted.
- Main modules are changed where necessary.

johnv’s picture

Unfortunately, the above patch supports only 'node' entities. Although my test system contains several other entity types, I did not manage to get Entity tokens working in the Rules module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

changed.