You are here

function workflow_permission in Workflow 7

Same name and namespace in other branches
  1. 7.2 workflow.module \workflow_permission()

Implements hook_permission().

File

./workflow.module, line 20
Support workflows made up of arbitrary states.

Code

function workflow_permission() {
  return array(
    'schedule workflow transitions' => array(
      'title' => t('Schedule workflow transitions'),
      'description' => t('Schedule workflow transitions.'),
    ),
    'show workflow state form' => array(
      'title' => t('Show workflow state change on node view'),
      'description' => t('Show workflow state change form on node viewing.'),
    ),
  );
}