function menu_position_rules_form_callback

cis7 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 sites/all/modules/local_contrib/menu_position/menu_position.module
Implements hook_menu().

File

sites/all/modules/local_contrib/menu_position/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');
}