function popup_onload_statistics_menu in Popup On Load 8
Same name and namespace in other branches
- 7 popup_onload_statistics/popup_onload_statistics.module \popup_onload_statistics_menu()
Implements hook_menu().
File
- modules/
popup_onload_statistics/ popup_onload_statistics.module, line 55 - Main popup on loadvertisement statistics functions.
Code
function popup_onload_statistics_menu() {
$items = array();
$items['popup_onload_stats_log'] = array(
'title' => 'Popup statistics AJAX gate',
'page callback' => 'popup_onload_statistics_log',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/reports/popup-statistics'] = array(
'title' => 'Popup statistics',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'popup_onload_statistics_admin_form',
),
'file' => 'popup_onload_statistics.admin.inc',
'access arguments' => array(
'access site reports',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}