コード例 #1
0
/**
 * Override or insert variables into the maintenance page template.
 *
 * @param $variables
 *   An array of variables to pass to the theme template.
 * @param $hook
 *   The name of the template being rendered ("maintenance_page" in this case.)
 */
function zen_preprocess_maintenance_page(&$variables, $hook)
{
    zen_preprocess_html($variables, $hook);
    // There's nothing maintenance-related in zen_preprocess_page(). Yet.
    //zen_preprocess_page($variables, $hook);
}
コード例 #2
0
ファイル: template.php プロジェクト: quangquyet05t3/Drupal
/**
 * Override or insert variables into the maintenance page template.
 *
 * @param $variables
 *   An array of variables to pass to the theme template.
 * @param $hook
 *   The name of the template being rendered ("maintenance_page" in this case.)
 */
function zen_preprocess_maintenance_page(&$variables, $hook)
{
    zen_preprocess_html($variables, $hook);
}