Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lb_plus
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
lb_plus
Commits
ad92bd92
Commit
ad92bd92
authored
8 months ago
by
Tim Bozeman
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3469286
by tim bozeman: Navigation module integration
parent
3154068d
No related branches found
No related tags found
2 merge requests
!58
Use Core's Layout Builder for any section storages we aren't aware of like...
,
!56
Resolve #3469286 "Navigation"
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/SectionStorageHandler.php
+6
-2
6 additions, 2 deletions
src/SectionStorageHandler.php
with
6 additions
and
2 deletions
src/SectionStorageHandler.php
+
6
−
2
View file @
ad92bd92
...
...
@@ -176,8 +176,12 @@ class SectionStorageHandler {
}
while
(
!
empty
(
$nested_storage_pieces
));
}
if
(
$this
->
moduleHandler
->
moduleExists
(
'edit_plus'
)
&&
$entity
=
$section_storage
->
getContextValue
(
'entity'
))
{
Cache
::
invalidateTags
([
getCacheTag
(
$entity
)]);
if
(
$this
->
moduleHandler
->
moduleExists
(
'edit_plus'
))
{
$contexts
=
$section_storage
->
getContexts
();
if
(
!
empty
(
$contexts
[
'entity'
]))
{
$entity
=
$section_storage
->
getContextValue
(
'entity'
);
Cache
::
invalidateTags
([
getCacheTag
(
$entity
)]);
}
}
$this
->
layoutBuilderTempstore
->
set
(
$section_storage
);
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
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