You are here

function content_menu_menu_form_handler_existing_view in Content Menu 7

Same name and namespace in other branches
  1. 8 content_menu.menu_admin.inc \content_menu_menu_form_handler_existing_view()

Menu add item operation handler for a new menu item to an existing view.

1 string reference to 'content_menu_menu_form_handler_existing_view'
_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 608
Menu Management Workflow improvements.

Code

function content_menu_menu_form_handler_existing_view($form, $form_state, $item) {
  drupal_set_message(t("You're about to create a new menu item for an existing view."));
  drupal_set_message(t('Complete the process by finding and selecting the view to add to the menu.'));
  drupal_goto(CONTENT_MENU_ADD_EXISTING_VIEW_URL, array(
    'query' => content_menu_assemble_query_string($item),
  ));
}