You are here

function pm_menu_admin_add_new in Drupal PM (Project Management) 7.3

Add new item form callback.

1 string reference to 'pm_menu_admin_add_new'
pm_menu_admin in includes/pm.menu.inc
Generates a table of recommended modules.

File

includes/pm.menu.inc, line 205
Drupal Pm Menu Admin settings.

Code

function pm_menu_admin_add_new($form, &$form_state) {
  if (isset($form_state['values']['add_new_item'])) {
    $form_state['rebuild'] = TRUE;
    return;
  }
  $form_state['redirect'] = current_path();
}