Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
demo_design_system
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
demo_design_system
Commits
aa68d054
Commit
aa68d054
authored
9 months ago
by
Kristen Pol
Browse files
Options
Downloads
Patches
Plain Diff
Add hook_preprocess_page to not strip Drupal CSS.
parent
f76fa02f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#249493
passed
9 months ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
starshot_demo/starshot_demo.theme
+16
-0
16 additions, 0 deletions
starshot_demo/starshot_demo.theme
with
16 additions
and
0 deletions
starshot_demo/starshot_demo.theme
0 → 100644
+
16
−
0
View file @
aa68d054
<?php
/**
* @file
* Functions to support theming in the Starshot Demo theme.
*/
/**
* Implements hook_preprocess_page().
*/
function
starshot_demo_preprocess_page
(
array
&
$variables
):
void
{
// Do not strip out Drupal core styles.
$variables
[
'modifier_class'
]
=
FALSE
;
}
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