function overlay_page_delivery_callback_alter

Implements hook_page_delivery_callback_alter().

File

modules/overlay/overlay.module, line 580

Code

function overlay_page_delivery_callback_alter(&$callback) {
    if (overlay_display_empty_page()) {
        $callback = 'overlay_deliver_empty_page';
    }
}

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