Skip to content
Snippets Groups Projects
Commit ad92bd92 authored by Tim Bozeman's avatar Tim Bozeman
Browse files

Issue #3469286 by tim bozeman: Navigation module integration

parent 3154068d
No related branches found
No related tags found
2 merge requests!58Use Core's Layout Builder for any section storages we aren't aware of like...,!56Resolve #3469286 "Navigation"
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment