1 layout.admin.inc layout_menu_item_form_condition_add($form, &$form_state)

Submit handler for layout_settings_form() that lets the user add a condition.

File

core/modules/layout/layout.admin.inc, line 2527
Administrative functions for Layout module.

Code

function layout_menu_item_form_condition_add($form, &$form_state) {
  $form_state['redirect'] = 'admin/structure/layouts/menu/' . $form_state['menu_item']->name . '/condition/add';
}