Commit 7d63b2a2 authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #2902247 by Sam152, dave.mikolaj, xjm, Bojhan: Make #title of the...

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
parent 8265b773
......@@ -60,10 +60,9 @@ public function form(array $form, FormStateInterface $form_state) {
$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,
];
......
......@@ -77,10 +77,9 @@ public function form(array $form, FormStateInterface $form_state) {
$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,
];
......
......@@ -61,10 +61,9 @@ public function form(array $form, FormStateInterface $form_state) {
$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,
];
......
......@@ -78,10 +78,9 @@ public function form(array $form, FormStateInterface $form_state) {
$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,
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment