Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eme
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
eme
Merge requests
!5
Resolve
#3347258
"Finalize api"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
#3347258
"Finalize api"
issue/eme-3347258:3347258-finalize-api
into
2.x
Overview
0
Commits
10
Pipelines
10
Changes
48
Merged
Zoltan Attila Horvath
requested to merge
issue/eme-3347258:3347258-finalize-api
into
2.x
11 months ago
Overview
0
Commits
10
Pipelines
10
Changes
48
Expand
Closes
#3347258
0
0
Merge request reports
Compare
2.x
version 11
0c98daca
10 months ago
version 10
211f11d9
11 months ago
version 9
f1c67e0b
11 months ago
version 8
e1397e74
11 months ago
version 7
6105411e
11 months ago
version 6
dc5f26d8
11 months ago
version 5
9364f44e
11 months ago
version 4
26ae2661
11 months ago
version 3
d99bdcfd
11 months ago
version 2
9a13ca3c
11 months ago
version 1
9a13ca3c
11 months ago
2.x (base)
and
latest version
latest version
0c98daca
10 commits,
10 months ago
version 11
0c98daca
10 commits,
10 months ago
version 10
211f11d9
15 commits,
11 months ago
version 9
f1c67e0b
15 commits,
11 months ago
version 8
e1397e74
15 commits,
11 months ago
version 7
6105411e
15 commits,
11 months ago
version 6
dc5f26d8
10 commits,
11 months ago
version 5
9364f44e
10 commits,
11 months ago
version 4
26ae2661
8 commits,
11 months ago
version 3
d99bdcfd
6 commits,
11 months ago
version 2
9a13ca3c
1 commit,
11 months ago
version 1
9a13ca3c
2 commits,
11 months ago
48 files
+
3560
−
586
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
48
Search (e.g. *.vue) (Ctrl+P)
src/Commands/EmeCommands.php
+
11
−
6
Options
@@ -229,12 +229,17 @@ class EmeCommands extends DrushCommands {
$this
->
logger
()
->
error
(
dt
(
'No entity types were provided.'
));
return
;
}
$missing_mistyped_ignored
=
array_reduce
(
$types_to_export
,
function
(
array
$carry
,
string
$entity_type_id
)
{
if
(
!
isset
(
$this
->
contentEntityTypes
[
$entity_type_id
]))
{
$carry
[]
=
$entity_type_id
;
}
return
$carry
;
},
[]);
$missing_mistyped_ignored
=
array_reduce
(
$types_to_export
,
function
(
array
$carry
,
string
$entity_type_id
)
{
$pieces
=
explode
(
':'
,
$entity_type_id
);
if
(
!
isset
(
$this
->
contentEntityTypes
[
$pieces
[
0
]]))
{
$carry
[]
=
$entity_type_id
;
}
return
$carry
;
},
[]
);
if
(
!
empty
(
$missing_mistyped_ignored
))
{
$this
->
logger
()
->
error
(
dt
(
'The following entity type IDs cannot be found or are set to be ignored during content export: @entity-types.'
,
[
'@entity-types'
=>
implode
(
', '
,
$missing_mistyped_ignored
),
Loading