1 layout.admin.inc | layout_settings_form_condition_edit($form, &$form_state) |
Submit handler for layout_settings_form() that edits an condition.
File
- core/
modules/ layout/ layout.admin.inc, line 942 - Admin page callbacks for the Layout module.
Code
function layout_settings_form_condition_edit($form, &$form_state) {
$edit_condition = $form_state['clicked_button']['#array_parents'][2];
$form_state['redirect'] = 'admin/structure/layouts/manage/' . $form_state['layout']->name . '/condition/edit/layout/' . $edit_condition;
}