1.20.x 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

modules/layout/layout.flexible.inc, line 391
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,
  );
}