2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$form['#title']=$this->t('View name and description');
$form['#title']=$this->t('Name and description');
$form['#section']='details';
$form['details']=array(
...
...
@@ -44,8 +44,7 @@ public function buildForm(array $form, array &$form_state) {
);
$form['details']['label']=array(
'#type'=>'textfield',
'#title'=>$this->t('Human-readable name'),
'#description'=>$this->t('A descriptive human-readable name for this view. Spaces are allowed'),
'#title'=>t('Administrative name'),
'#default_value'=>$view->label(),
);
$form['details']['langcode']=array(
...
...
@@ -54,19 +53,18 @@ public function buildForm(array $form, array &$form_state) {
'#description'=>$this->t('Language of labels and other textual elements in this view.'),
'#default_value'=>$view->get('langcode'),
);
$form['details']['description']=array(
'#type'=>'textfield',
'#title'=>t('Administrative description'),
'#default_value'=>$view->get('description'),
);
$form['details']['tag']=array(
'#type'=>'textfield',
'#title'=>$this->t('View tag'),
'#description'=>$this->t('Optionally, enter a comma delimited list of tags for this view to use in filtering and sorting views on the administrative page.'),
'#title'=>t('Administrative tags'),
'#description'=>t('Enter a comma-separated list of words to describe your view.'),