Skip to content
Snippets Groups Projects

Issue #3524590: :axe: Remove dead code

Merged Lee Rowlands requested to merge issue/experience_builder-3524590:3524590-dead-code-2 into 0.x
1 file
+ 0
14
Compare changes
  • Side-by-side
  • Inline
@@ -300,20 +300,6 @@ class ComponentTreeStructure extends TypedData implements DependentPluginInterfa
return array_values(array_unique(array_column($this->getComponents(), 'component')));
}
/**
* All unique components used in the tree are dependencies.
*/
public function getDependencies(): array {
$dependencies = [];
$component_ids = $this->getComponentIdList();
foreach ($component_ids as $component_id) {
// @see \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getConfigPrefix()
$dependencies['config'][] = 'experience_builder.component.' . $component_id;
}
return $dependencies;
}
/**
* Gets component source for given instance UUID.
*
Loading