Issue #2850546 by scott_euser: Empty value for no transitions when editing state

8.4.x
Alex Pott 2017-02-08 21:58:40 +00:00
parent eb8b64df0f
commit 27509d09d5
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class WorkflowStateEditForm extends EntityForm {
$form['transitions'] = [ $form['transitions'] = [
'#type' => 'table', '#type' => 'table',
'#header' => $header, '#header' => $header,
'#empty' => $this->t('There are no states yet.'), '#empty' => $this->t('There are no transitions to or from this state yet.'),
]; ];
foreach ($state->getTransitions() as $transition) { foreach ($state->getTransitions() as $transition) {
$links['edit'] = [ $links['edit'] = [