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

Submit handler for layout_settings_form() that edits an condition.

File

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

Code

function layout_menu_item_form_condition_edit($form, &$form_state) {
  $edit_condition = $form_state['clicked_button']['#array_parents'][2];
  $form_state['redirect'] = 'admin/structure/layouts/menu/' . $form_state['menu_item']->name . '/condition/edit/' . $edit_condition;
}