You are here

function overlay_deliver_empty_page in Drupal 7

Prints an empty page.

This function is used to print out a bare minimum empty page which still has the scripts and styles necessary in order to trigger the overlay to close.

1 string reference to 'overlay_deliver_empty_page'
overlay_page_delivery_callback_alter in modules/overlay/overlay.module
Implements hook_page_delivery_callback_alter().

File

modules/overlay/overlay.module, line 592
Displays the Drupal administration interface in an overlay.

Code

function overlay_deliver_empty_page() {
  $empty_page = '<html><head><title></title>' . drupal_get_css() . drupal_get_js() . '</head><body class="overlay"></body></html>';
  print $empty_page;
  drupal_exit();
}