Skip to content
Snippets Groups Projects
Commit 69d0e750 authored by Sviatoslav Smovdyr's avatar Sviatoslav Smovdyr Committed by Mikael Meulle
Browse files

Issue #3483489 by smovs: entity:node context is required and not present

parent 89c44b0c
Branches
Tags
1 merge request!253#3483489 - Fixed error with entity:node context.
Pipeline #324110 passed
......@@ -165,8 +165,7 @@ class ComponentLayout extends LayoutDefault implements ContainerFactoryPluginInt
public function calculateDependencies() {
$dependencies = parent::calculateDependencies();
$component_id = $this->getPluginDefinition()->id();
// Why no getComponentSourceContexts?
$component_dependencies = $this->calculateComponentDependencies($component_id);
$component_dependencies = $this->calculateComponentDependencies($component_id, $this->getComponentSourceContexts());
SourcePluginBase::mergeConfigDependencies($dependencies, $component_dependencies);
SourcePluginBase::mergeConfigDependencies($dependencies, ["module" => ["ui_patterns_layouts"]]);
return $dependencies;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment