Problem/Motivation
Calculate dependencies should include block dependencies.
e.g. from LayoutBuilderEntityViewDisplay:
public function calculateDependencies() {
parent::calculateDependencies();
foreach ($this->getSections() as $section) {
$this->calculatePluginDependencies($section->getLayout());
foreach ($section->getComponents() as $component) {
$this->calculatePluginDependencies($component->getPlugin());
}
}
return $this;
}
Steps to reproduce
Add a block provided by a module and export config.
The dependency is not there.
Proposed resolution
We should include dependencies.
Remaining tasks
Fix and test.
User interface changes
None.
API changes
Data model changes
Issue fork dashboard-3487609
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
penyaskitoTests passed and failed as expected, thanks!
Comment #6
penyaskito