You are here

function workflow_access_enable in Workflow 5

Same name and namespace in other branches
  1. 5.2 workflow_access.module \workflow_access_enable()

Implementation of hook_enable().

Force a rebuild of the node access table when enabled to ensure that things are set up.

File

./workflow_access.module, line 13
Provides node access permissions based on workflow states.

Code

function workflow_access_enable() {
  node_access_rebuild();
}