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

Submit handler for layout_settings_form() that edits a context.

File

core/modules/layout/layout.context.admin.inc, line 363
Administrative functions for custom layout contexts.

Code

function layout_settings_form_context_edit($form, &$form_state) {
  $edit_context = $form_state['clicked_button']['#array_parents'][3];
  $form_state['redirect'] = 'admin/structure/layouts/manage/' . $form_state['layout']->name . '/context/edit/layout/' . $edit_context;
}