function simplenews_scheduler_menu in Simplenews Scheduler 7
Same name and namespace in other branches
- 5 simplenews_scheduler.module \simplenews_scheduler_menu()
- 6.2 simplenews_scheduler.module \simplenews_scheduler_menu()
- 6 simplenews_scheduler.module \simplenews_scheduler_menu()
Implements hook_menu().
File
- ./
simplenews_scheduler.module, line 34 - Simplenews Scheduler module allows a schedule to be set for sending (and resending) a Simplenews item.
Code
function simplenews_scheduler_menu() {
$items = array();
$items["node/%node/editions"] = array(
'title' => 'Newsletter Editions',
'type' => MENU_LOCAL_TASK,
'weight' => 2,
'page callback' => 'simplenews_scheduler_node_page',
'page arguments' => array(
1,
),
'access callback' => '_simplenews_scheduler_tab_permission',
'access arguments' => array(
1,
),
);
return $items;
}