1 layout.flexible.inc | layout_flexible_template_configure_form_cancel($form, &$form_state) |
Submit handler that cancels in-progress changes.
See also
layout_flexible_template_configure_form()
File
- core/
modules/ layout/ layout.flexible.inc, line 211 - Provides configurable (flexible) layout templates.
Code
function layout_flexible_template_configure_form_cancel($form, &$form_state) {
tempstore_clear('layout.flexible', $form_state['flexible_template_name']);
$form_state['redirect'] = 'admin/structure/layouts/settings';
}