You are here

function workflow_revert_permission in Workflow 7.2

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

Implements hook_permission().

File

workflow_revert/workflow_revert.module, line 11
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.'),
    ),
  );
}