Skip to content
Snippets Groups Projects
Commit 68c1fe4f authored by Lily Yan's avatar Lily Yan Committed by Igor Biki
Browse files

ISTWCMS-5878 Remove html.inc file which is related to gesso only

parent 259a2030
No related branches found
No related tags found
1 merge request!93ISTWCMS-5878 ISTWCMS-5878 Remove Gesso after 3.2.0 has shipped
<?php
/**
* @file
* HTML template functions.
*/
/**
* Implements hook_preprocess_html().
*/
function gesso_preprocess_html(&$vars, $hook) {
// Add x-ua-compatible meta tag.
$vars['page']['#attached']['html_head'][] = [
[
'#tag' => 'meta',
'#attributes' => [
'http-equiv' => 'x-ua-compatible',
'content' => 'ie=edge',
],
],
'x_ua_compatible',
];
}
/**
* Implements hook_preprocess_maintenance_page().
*/
function gesso_preprocess_maintenance_page(&$vars, $hook) {
// While markup for normal pages is split into html.html.twig and
// page.html.twig, the markup for the maintenance page is all in the single
// maintenance-page.html.twig template. So, to have what’s done in
// gesso_preprocess_html() and gesso_preprocess_page() also happen
// on the maintenance page, it has to be called here.
gesso_preprocess_html($vars, $hook);
gesso_preprocess_page($vars, $hook);
}
/**
* Implements hook_preprocess_page().
*/
function gesso_preprocess_page(&$vars, $hook) {
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment