You are here

function content_menu_menu_form_handler_menu_position_rule in Content Menu 7

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

Menu add item operation handler for a new generic menu item.

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

Code

function content_menu_menu_form_handler_menu_position_rule($form, $form_state, $item) {
  drupal_set_message(t("You're about to create a new generic menu position rule."));
  drupal_set_message(t('Complete the process by filling out and saving the form below.'));
  drupal_goto('admin/structure/menu-position/add', array(
    'query' => content_menu_assemble_query_string($item),
  ));
}