Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
27509d09
Commit
27509d09
authored
Feb 08, 2017
by
alexpott
Browse files
Issue
#2850546
by scott_euser: Empty value for no transitions when editing state
parent
eb8b64df
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/workflows/src/Form/WorkflowStateEditForm.php
View file @
27509d09
...
...
@@ -68,7 +68,7 @@ public function form(array $form, FormStateInterface $form_state) {
$form
[
'transitions'
]
=
[
'#type'
=>
'table'
,
'#header'
=>
$header
,
'#empty'
=>
$this
->
t
(
'There are no state
s
yet.'
),
'#empty'
=>
$this
->
t
(
'There are no
transitions to or from this
state yet.'
),
];
foreach
(
$state
->
getTransitions
()
as
$transition
)
{
$links
[
'edit'
]
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment