You are here

function workflow_notify_menu in Workflow 7

Same name and namespace in other branches
  1. 7.2 workflow_notify/workflow_notify.module \workflow_notify_menu()

Implements hook_menu().

File

workflow_notify/workflow_notify.module, line 32
Notify roles for Workfllow state transitions.

Code

function workflow_notify_menu() {
  $items = array();
  $items['admin/config/workflow/workflow/notify/%workflow'] = array(
    'title' => 'Notifications',
    'access arguments' => array(
      'administer workflow',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'workflow_notify_settings_form',
      5,
    ),
    'type' => MENU_CALLBACK,
    'file' => 'workflow_notify.admin.inc',
  );
  return $items;
}