You are here

function civicrm_cron_menu in CiviCRM Cron 7

Same name and namespace in other branches
  1. 6 civicrm_cron.module \civicrm_cron_menu()
  2. 7.2 civicrm_cron.module \civicrm_cron_menu()

Implementation of hook_menu().

File

./civicrm_cron.module, line 10
CiviCRM Cron Module

Code

function civicrm_cron_menu() {
  $items = array();
  $items['admin/config/civicrm/civicrm_cron'] = array(
    'title' => 'CiviCRM Cron Configuration',
    'description' => 'Settings to call CiviCRM\'s cron from Drupal\'s cron.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'civicrm_cron_admin_settings',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}