Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wordpress_migrate
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
wordpress_migrate
Merge requests
!32
Do not use #default_value in #machine_name
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Do not use #default_value in #machine_name
issue/wordpress_migrate-3389654:3389654-machine-name-exists
into
8.x-3.x
Overview
0
Commits
2
Pipelines
2
Changes
1
Merged
Wendy Baltodano
requested to merge
issue/wordpress_migrate-3389654:3389654-machine-name-exists
into
8.x-3.x
5 months ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
Closes
#3389654
0
0
Merge request reports
Compare
8.x-3.x
version 1
f6799770
5 months ago
8.x-3.x (base)
and
latest version
latest version
364a3124
2 commits,
5 months ago
version 1
f6799770
1 commit,
5 months ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
wordpress_migrate_ui/src/Form/ReviewForm.php
+
2
−
2
Options
@@ -61,7 +61,7 @@ class ReviewForm extends FormBase {
'#type'
=>
'machine_name'
,
'#max_length'
=>
64
,
'#title'
=>
$this
->
t
(
'ID to assign to the generated migration group'
),
'#
default_value
'
=>
'my_wordpress'
,
'#
attributes'
=>
[
'placeholder
'
=>
'my_wordpress'
]
,
'#machine_name'
=>
[
'exists'
=>
[
$this
,
'groupExists'
],
],
@@ -70,7 +70,7 @@ class ReviewForm extends FormBase {
'#type'
=>
'machine_name'
,
'#max_length'
=>
64
-
strlen
(
'wordpress_content_page'
),
'#title'
=>
$this
->
t
(
'ID to prepend to each generated migration'
),
'#
default_value
'
=>
'my_'
,
'#
attributes'
=>
[
'placeholder
'
=>
'my_'
]
,
'#machine_name'
=>
[
'exists'
=>
[
$this
,
'prefixExists'
],
],
Loading