function custom_pub_menu in Custom Publishing Options 6
Same name and namespace in other branches
- 7 custom_pub.module \custom_pub_menu()
Implements hook_menu().
File
- ./
custom_pub.module, line 50 - Adds the ability to add Custom publishing options to the node Add/Edit form.
Code
function custom_pub_menu() {
$items['admin/content/custom_pub'] = array(
'title' => 'Publishing Options',
'page callback' => 'custom_pub_admin',
'access arguments' => array(
'administer nodes',
),
'description' => 'Add and remove custom publishing options from the Node form.',
);
return $items;
}