You are here

function state_flow_permission in State Machine 7.2

Same name and namespace in other branches
  1. 7.3 modules/state_flow/state_flow.module \state_flow_permission()
  2. 7 modules/state_flow/state_flow.module \state_flow_permission()

Implements hook_permission().

File

modules/state_flow/state_flow.module, line 60
An implementation of node revision workflow for Drupal based on the State Machine system.

Code

function state_flow_permission() {
  return array(
    'manage content workflow' => array(
      'title' => t('Manage content workflow'),
      'description' => t('Manage the content workflow pages and operations.'),
    ),
    'administer content revisions' => array(
      'title' => t('Administer content revisions'),
    ),
  );
}