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

AJAX handler that cancels the context edit dialog.

File

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

Code

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

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