function content_menu_menu_form_handler_url in Content Menu 7
Same name and namespace in other branches
- 8 content_menu.menu_admin.inc \content_menu_menu_form_handler_url()
Menu add item operation handler for a new generic menu item.
1 call to content_menu_menu_form_handler_url()
- content_menu_menu_form_handler_menu_position_existing in ./
content_menu.menu_admin.inc - Menu add item operation handler for a new menu item to existing content.
2 string references to 'content_menu_menu_form_handler_url'
- hook_menu_item_target_types_alter in ./
content_menu.api.php - Extend the target types for a new menu item.
- _content_menu_menu_item_target_types_alter in ./
content_menu.menu_admin.inc - Actual implementation for content_menu_menu_item_target_types_alter().
File
- ./
content_menu.menu_admin.inc, line 572 - Menu Management Workflow improvements.
Code
function content_menu_menu_form_handler_url($form, $form_state, $item) {
drupal_set_message(t("You're about to create a new generic menu item linking to a URL path."));
drupal_set_message(t('Complete the process by filling out and saving the form below.'));
drupal_goto('admin/structure/menu/manage/' . $item['name'] . '/add', array(
'query' => content_menu_assemble_query_string($item),
));
}