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

Submit handler for the cancel button on layout_context_add_form().

File

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

Code

function layout_context_add_form_cancel($form, &$form_state) {
  $form_state['redirect'] = 'admin/structure/layouts/manage/' . $form_state['layout']->name . '/configure';
}