Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bootstrap_barrio-3382683
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
bootstrap_barrio-3382683
Commits
1bf32b1a
Commit
1bf32b1a
authored
4 years ago
by
Alberto Siles
Committed by
Alberto Siles
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3133113
by hatuhay: Update causes DomainException: When a #lazy_builder callback is
parent
13ef4cb8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lazy_builder_conflict-3133113-4.patch
+0
-15
0 additions, 15 deletions
lazy_builder_conflict-3133113-4.patch
with
0 additions
and
15 deletions
lazy_builder_conflict-3133113-4.patch
deleted
100644 → 0
+
0
−
15
View file @
13ef4cb8
diff --git a/bootstrap_barrio.theme b/bootstrap_barrio.theme
index 61d6bb2..8b9dd2c 100644
--- a/bootstrap_barrio.theme
+++ b/bootstrap_barrio.theme
@@ -348,7 +348,9 @@
function bootstrap_barrio_preprocess_region(&$variables) {
* Implements hook_preprocess_HOOK() for block.html.twig.
*/
function bootstrap_barrio_preprocess_block(&$variables) {
- $variables['content']['#attributes']['block'] = $variables['attributes']['id'];
+ if ($variables['base_plugin_id'] == 'system_menu_block') {
+ $variables['content']['#attributes']['block'] = $variables['attributes']['id'];
+ }
// Add a clearfix class to system branding blocks.
if ($variables['plugin_id'] == 'system_branding_block') {
$variables['attributes']['class'][] = 'clearfix';
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