1 layout.flexible.inc layout_flexible_template_cancel_ajax($form, $form_state)

AJAX handler to cancels the region style selection form.

See also

layout_flexible_template_region_style_select().

File

core/modules/layout/layout.flexible.inc, line 396
Provides configurable (flexible) layout templates.

Code

function layout_flexible_template_cancel_ajax($form, $form_state) {
  $commands = array();
  $commands[] = ajax_command_close_modal_dialog();

  return array(
    '#type' => 'ajax',
    '#commands' => $commands,
  );
}