'#description'=>$this->t('This will appear in the URL after the ? to identify this filter. Cannot be blank.'),
'#description'=>$this->t('This will appear in the URL after the ? to identify this filter. Cannot be blank. Only letters, digits and the dot ("."), hyphen ("-"), underscore ("_"), and tilde ("~") characters are allowed.'),
);
}
...
...
@@ -623,16 +623,7 @@ public function buildExposeForm(&$form, FormStateInterface $form_state) {
$error=$this->t('This identifier is used by another handler.');
}
if(!empty($form_state)&&!empty($error)){
$form_state->setError($form_group,$error);
}
return$error;
}
/**
* Save new group items, re-enumerates and remove groups marked to delete.
*/
...
...
@@ -868,7 +885,7 @@ protected function buildExposedFiltersGroupForm(&$form, FormStateInterface $form
'#default_value'=>$identifier,
'#title'=>$this->t('Filter identifier'),
'#size'=>40,
'#description'=>$this->t('This will appear in the URL after the ? to identify this filter. Cannot be blank.'),
'#description'=>$this->t('This will appear in the URL after the ? to identify this filter. Cannot be blank. Only letters, digits and the dot ("."), hyphen ("-"), underscore ("_"), and tilde ("~") characters are allowed.'),
);
$form['group_info']['label']=array(
'#type'=>'textfield',
...
...
@@ -922,7 +939,7 @@ protected function buildExposedFiltersGroupForm(&$form, FormStateInterface $form
'#default_value'=>$identifier,
'#title'=>$this->t('Filter identifier'),
'#size'=>40,
'#description'=>$this->t('This will appear in the URL after the ? to identify this filter. Cannot be blank.'),
'#description'=>$this->t('This will appear in the URL after the ? to identify this filter. Cannot be blank. Only letters, digits and the dot ("."), hyphen ("-"), underscore ("_"), and tilde ("~") characters are allowed.'),
);
$form['group_info']['label']=array(
'#type'=>'textfield',
...
...
@@ -1490,6 +1507,15 @@ public function getCacheTags() {