function overlay_deliver_empty_page

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

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.