summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Hojtsy2017-10-09 16:28:21 (GMT)
committerGabor Hojtsy2017-10-09 16:28:21 (GMT)
commit7d63b2a2454c9e396e2da4f7ad6af8995c47e1c6 (patch)
treecf4d45cbd93bdd77dfab5bfd844d8abc436e4865
parent8265b7736cf48c6bf581cfd76660f96e9af3ec2a (diff)
Issue #2902247 by Sam152, dave.mikolaj, xjm, Bojhan: Make #title of the "label" fields in the Workflow(Transition|State)(Add|Edit)Form clearer and remove the description
-rw-r--r--core/modules/workflows/src/Form/WorkflowStateAddForm.php3
-rw-r--r--core/modules/workflows/src/Form/WorkflowStateEditForm.php3
-rw-r--r--core/modules/workflows/src/Form/WorkflowTransitionAddForm.php3
-rw-r--r--core/modules/workflows/src/Form/WorkflowTransitionEditForm.php3
4 files changed, 4 insertions, 8 deletions
diff --git a/core/modules/workflows/src/Form/WorkflowStateAddForm.php b/core/modules/workflows/src/Form/WorkflowStateAddForm.php
index ab4a4c1..ab7b361 100644
--- a/core/modules/workflows/src/Form/WorkflowStateAddForm.php
+++ b/core/modules/workflows/src/Form/WorkflowStateAddForm.php
@@ -60,10 +60,9 @@ class WorkflowStateAddForm extends EntityForm {
$form['label'] = [
'#type' => 'textfield',
- '#title' => $this->t('Label'),
+ '#title' => $this->t('State label'),
'#maxlength' => 255,
'#default_value' => '',
- '#description' => $this->t('Label for the state.'),
'#required' => TRUE,
];
diff --git a/core/modules/workflows/src/Form/WorkflowStateEditForm.php b/core/modules/workflows/src/Form/WorkflowStateEditForm.php
index a04998d..940fb8c 100644
--- a/core/modules/workflows/src/Form/WorkflowStateEditForm.php
+++ b/core/modules/workflows/src/Form/WorkflowStateEditForm.php
@@ -77,10 +77,9 @@ class WorkflowStateEditForm extends EntityForm {
$form['label'] = [
'#type' => 'textfield',
- '#title' => $this->t('Label'),
+ '#title' => $this->t('State label'),
'#maxlength' => 255,
'#default_value' => $state->label(),
- '#description' => $this->t('Label for the state.'),
'#required' => TRUE,
];
diff --git a/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php b/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php
index 8452292..9580e27 100644
--- a/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php
+++ b/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php
@@ -61,10 +61,9 @@ class WorkflowTransitionAddForm extends EntityForm {
$form['label'] = [
'#type' => 'textfield',
- '#title' => $this->t('Label'),
+ '#title' => $this->t('Transition label'),
'#maxlength' => 255,
'#default_value' => '',
- '#description' => $this->t('Label for the transition.'),
'#required' => TRUE,
];
diff --git a/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php b/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
index 1406025..63b2ab4 100644
--- a/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
+++ b/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
@@ -78,10 +78,9 @@ class WorkflowTransitionEditForm extends EntityForm {
$form['label'] = [
'#type' => 'textfield',
- '#title' => $this->t('Label'),
+ '#title' => $this->t('Transition label'),
'#maxlength' => 255,
'#default_value' => $transition->label(),
- '#description' => $this->t('Label for the transition.'),
'#required' => TRUE,
];