function rules_menu

Implements hook_menu().

File

./rules.module, line 1632

Code

function rules_menu() {
    $items['admin/config/workflow/rules/upgrade'] = array(
        'title' => 'Upgrade',
        'page callback' => 'drupal_get_form',
        'page arguments' => array(
            'rules_upgrade_form',
        ),
        'access arguments' => array(
            'administer rules',
        ),
        'file' => 'includes/rules.upgrade.inc',
        'file path' => drupal_get_path('module', 'rules'),
        'type' => MENU_CALLBACK,
    );
    $items['admin/config/workflow/rules/upgrade/clear'] = array(
        'title' => 'Clear',
        'page callback' => 'drupal_get_form',
        'page arguments' => array(
            'rules_upgrade_confirm_clear_form',
        ),
        'access arguments' => array(
            'administer rules',
        ),
        'file' => 'includes/rules.upgrade.inc',
        'file path' => drupal_get_path('module', 'rules'),
        'type' => MENU_CALLBACK,
    );
    $items['admin/config/workflow/rules/autocomplete_tags'] = array(
        'title' => 'Rules tags autocomplete',
        'page callback' => 'rules_autocomplete_tags',
        'page arguments' => array(
            5,
        ),
        'access arguments' => array(
            'administer rules',
        ),
        'file' => 'ui/ui.forms.inc',
        'type' => MENU_CALLBACK,
    );
    return $items;
}