You are here

function minisite_page_delivery_callback_alter in Mini site 7

Alter page delivery callback.

File

includes/minisite.theme.inc, line 41
minisite.theme.inc

Code

function minisite_page_delivery_callback_alter(&$callback) {

  // Get entity and view modes.
  $minisite_info = minisite_site_load(FALSE);
  if (!empty($minisite_info) && $callback == 'drupal_deliver_html_page') {
    $callback = 'minisite_deliver';
  }
}