You are here

function workflow_revert_permission in Workflow 7

Same name and namespace in other branches
  1. 7.2 workflow_revert/workflow_revert.module \workflow_revert_permission()

Implements hook_permission().

File

workflow_revert/workflow_revert.module, line 10
Adds an 'Revert' link to the first workflow history row.

Code

function workflow_revert_permission() {
  return array(
    'revert workflow' => array(
      'title' => t('Revert workflow'),
      'description' => t('Allow user to revert workflow state.'),
    ),
  );
}