1 layout.context.admin.inc | layout_settings_form_context_relationship_edit($form, &$form_state) |
Submit handler for layout_settings_form() that edits a relationship.
File
- core/
modules/ layout/ layout.context.admin.inc, line 371 - Administrative functions for custom layout contexts.
Code
function layout_settings_form_context_relationship_edit($form, &$form_state) {
$edit_relationship = $form_state['clicked_button']['#array_parents'][3];
$form_state['redirect'] = 'admin/structure/layouts/manage/' . $form_state['layout']->name . '/relationship/edit/layout/' . $edit_relationship;
}