You are here

function menu_position_rules_form_callback in Menu Position 7.2

Same name and namespace in other branches
  1. 6 menu_position.admin.inc \menu_position_rules_form_callback()
  2. 7 menu_position.admin.inc \menu_position_rules_form_callback()

Menu callback: orders rules.

1 string reference to 'menu_position_rules_form_callback'
menu_position_menu in ./menu_position.module
Implements hook_menu().

File

./menu_position.admin.inc, line 150
Provides infrequently used functions and hooks for menu_position.

Code

function menu_position_rules_form_callback() {

  // This is a total hack. @see menu_position_enable(). You shouldn't be doing
  // non-Form API stuff in a form definition. So we've created this wrapper
  // callback to run the hack and then return the form definition.
  menu_position_enable_helper();
  return drupal_get_form('menu_position_rules_form');
}