Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!8776
Route migrate process plugin shouldn't assume that the $options variable is always an array
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Route migrate process plugin shouldn't assume that the $options variable is always an array
issue/drupal-3156083:3156083-route-migrate-process
into
11.x
Overview
0
Commits
1
Pipelines
1
Changes
2
Open
Route migrate process plugin shouldn't assume that the $options variable is always an array
Fran Garcia-Linares
requested to merge
issue/drupal-3156083:3156083-route-migrate-process
into
11.x
Jul 15, 2024
Overview
0
Commits
1
Pipelines
1
Changes
2
Closes
#3156083
0
0
Merge request reports
Compare
11.x
11.x (HEAD)
and
latest version
latest version
bb62e6c8
1 commit,
Jul 15, 2024
2 files
+
143
−
119
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
core/modules/migrate/src/Plugin/migrate/process/Route.php
+
3
−
1
View file @ 83c2767b
Edit in single-file editor
Open in Web IDE
Show full file
@@ -131,7 +131,9 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
$options
[
'query'
]
=
$route
[
'options'
][
'query'
]
+
$old_query
;
unset
(
$route
[
'options'
][
'query'
]);
}
$route
[
'options'
]
=
$route
[
'options'
]
+
$options
;
if
(
is_array
(
$options
))
{
$route
[
'options'
]
+=
$options
;
}
$route
[
'url'
]
=
NULL
;
}
}
Loading