function menu_position_rules_form_callback in Menu Position 6
Same name and namespace in other branches
- 7.2 menu_position.admin.inc \menu_position_rules_form_callback()
- 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.admin.inc - Implements hook_menu().
File
- ./
menu_position.admin.inc, line 173 - 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');
}