You are here

function workflow_cleanup_menu in Workflow 7

Same name and namespace in other branches
  1. 7.2 workflow_cleanup/workflow_cleanup.module \workflow_cleanup_menu()

Implements hook_menu().

File

workflow_cleanup/workflow_cleanup.module, line 10
Cleans up Workflow cruft that may build up over time.

Code

function workflow_cleanup_menu() {
  $items = array();
  $items['admin/config/workflow/workflow/cleanup'] = array(
    'title' => 'Workflow Clean Up',
    'access arguments' => array(
      'administer workflow',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'workflow_cleanup_form',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}