Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parameters-3485177
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
parameters-3485177
Commits
d04ed3b2
Commit
d04ed3b2
authored
2 years ago
by
mxh
Browse files
Options
Downloads
Patches
Plain Diff
Fix stuff.
parent
669b0f67
No related branches found
Branches containing commit
Tags
7.x-1.15
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/Derivative/Parameter/ContentDeriver.php
+1
-1
1 addition, 1 deletion
src/Plugin/Derivative/Parameter/ContentDeriver.php
with
1 addition
and
1 deletion
src/Plugin/Derivative/Parameter/ContentDeriver.php
+
1
−
1
View file @
d04ed3b2
...
...
@@ -86,7 +86,7 @@ class ContentDeriver implements ContainerDeriverInterface {
continue
;
}
foreach
(
$this
->
entityTypeBundleInfo
->
getBundleInfo
(
$entity_type_id
)
as
$bundle
=>
$info
)
{
$bundle_label
=
isset
(
$info
[
'label'
])
?
(
$info
[
'label'
]
instanceof
TranslatableMarkup
?
$info
[
'label'
]
:
new
TranslatableMarkup
((
string
)
$info
[
'label'
]))
:
$
entity_type
->
getLabel
()
;
$bundle_label
=
isset
(
$info
[
'label'
])
?
(
$info
[
'label'
]
instanceof
TranslatableMarkup
?
$info
[
'label'
]
:
new
TranslatableMarkup
((
string
)
$info
[
'label'
]))
:
$
bundle
;
$plugin_label
=
$entity_type
->
getBundleEntityType
()
?
$this
->
t
(
'@bundle item (@type)'
,
[
'@bundle'
=>
$bundle_label
,
'@type'
=>
$entity_type
->
getLabel
(),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment