Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
68c1fe4f
Commit
68c1fe4f
authored
2 years ago
by
Lily Yan
Committed by
Igor Biki
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
!93
ISTWCMS-5878 ISTWCMS-5878 Remove Gesso after 3.2.0 has shipped
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/html.inc
+0
-42
0 additions, 42 deletions
includes/html.inc
with
0 additions
and
42 deletions
includes/html.inc
deleted
100644 → 0
+
0
−
42
View file @
259a2030
<?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
)
{
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment