Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
experience_builder
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
experience_builder
Merge requests
!1036
Issue
#3524590
:
Remove dead code
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3524590
:
Remove dead code
issue/experience_builder-3524590:3524590-dead-code-2
into
0.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Lee Rowlands
requested to merge
issue/experience_builder-3524590:3524590-dead-code-2
into
0.x
1 month ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Closes
#3524590
0
0
Merge request reports
Compare
0.x
version 1
332295cb
1 month ago
0.x (base)
and
latest version
latest version
332295cb
1 commit,
1 month ago
version 1
332295cb
1 commit,
1 month ago
1 file
+
0
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Plugin/DataType/ComponentTreeStructure.php
+
0
−
14
Options
@@ -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