/dports/www/drupal9/drupal-9.2.10/core/modules/inline_form_errors/tests/src/Unit/ |
H A D | FormErrorHandlerTest.php | 142 $form_state->setErrorByName('test1', 'invalid'); 143 $form_state->setErrorByName('test2', 'invalid'); 144 $form_state->setErrorByName('fieldset][test3', 'invalid'); 145 $form_state->setErrorByName('test4', 'no error message'); 146 $form_state->setErrorByName('test5', 'no title given'); 147 $form_state->setErrorByName('test6', 'element is invisible'); 183 $form_state->setErrorByName('test1', 'invalid'); 184 $form_state->setErrorByName('test2', 'invalid'); 185 $form_state->setErrorByName('fieldset][test3', 'invalid'); 186 $form_state->setErrorByName('test4', 'no error message'); [all …]
|
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Core/Form/ |
H A D | FormErrorHandlerTest.php | 105 $form_state->setErrorByName('test1', 'invalid'); 106 $form_state->setErrorByName('test2', 'invalid'); 107 $form_state->setErrorByName('fieldset][test3', 'invalid'); 108 $form_state->setErrorByName('test5', 'no title given'); 109 $form_state->setErrorByName('test6', 'element is invisible'); 110 $form_state->setErrorByName('missing_element', 'this missing element is invalid'); 190 $form_state->setErrorByName('test', 'invalid'); 191 $form_state->setErrorByName('grouping_test', 'invalid'); 192 $form_state->setErrorByName('grouping_test2', 'invalid'); 193 $form_state->setErrorByName('fieldset][nested_test', 'invalid'); [all …]
|
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Core/Form/ |
H A D | FormErrorHandlerTest.php | 113 $form_state->setErrorByName('test1', 'invalid'); 114 $form_state->setErrorByName('test2', 'invalid'); 115 $form_state->setErrorByName('fieldset][test3', 'invalid'); 116 $form_state->setErrorByName('test5', 'no title given'); 117 $form_state->setErrorByName('test6', 'element is invisible'); 118 $form_state->setErrorByName('missing_element', 'this missing element is invalid'); 198 $form_state->setErrorByName('test', 'invalid'); 199 $form_state->setErrorByName('grouping_test', 'invalid'); 200 $form_state->setErrorByName('grouping_test2', 'invalid'); 201 $form_state->setErrorByName('fieldset][nested_test', 'invalid'); [all …]
|
H A D | FormStateTest.php | 111 $form_state->setErrorByName('test', 'Fail 1'); 112 $form_state->setErrorByName('test', 'Fail 2'); 113 $form_state->setErrorByName('options'); 141 $form_state->setErrorByName('test', 'message');
|
/dports/www/drupal8/drupal-8.9.20/core/modules/inline_form_errors/tests/src/Unit/ |
H A D | FormErrorHandlerTest.php | 145 $form_state->setErrorByName('test1', 'invalid'); 146 $form_state->setErrorByName('test2', 'invalid'); 147 $form_state->setErrorByName('fieldset][test3', 'invalid'); 148 $form_state->setErrorByName('test4', 'no error message'); 149 $form_state->setErrorByName('test5', 'no title given'); 150 $form_state->setErrorByName('test6', 'element is invisible'); 199 $form_state->setErrorByName('test1', 'invalid'); 200 $form_state->setErrorByName('test2', 'invalid'); 201 $form_state->setErrorByName('fieldset][test3', 'invalid'); 202 $form_state->setErrorByName('test4', 'no error message'); [all …]
|
/dports/www/drupal9/drupal-9.2.10/core/modules/system/tests/modules/form_test/src/Form/ |
H A D | FormTestVerticalTabsAccessForm.php | 110 …$form_state->setErrorByName('tab1][field1', t('This checkbox inside a vertical tab does not have i… 113 …$form_state->setErrorByName('tab2][field2', t('This textfield inside a vertical tab does not have … 116 …$form_state->setErrorByName('fieldset][field3', t('This checkbox inside a fieldset does not have i… 119 …$form_state->setErrorByName('container][field4', t('This checkbox inside a container does not have… 122 …$form_state->setErrorByName('container][subcontainer][field5', t('This checkbox inside a nested co… 125 …$form_state->setErrorByName('tab3][field6', t('This checkbox inside a vertical tab whose fieldset …
|
/dports/www/drupal8/drupal-8.9.20/core/modules/system/tests/modules/form_test/src/Form/ |
H A D | FormTestVerticalTabsAccessForm.php | 110 …$form_state->setErrorByName('tab1][field1', t('This checkbox inside a vertical tab does not have i… 113 …$form_state->setErrorByName('tab2][field2', t('This textfield inside a vertical tab does not have … 116 …$form_state->setErrorByName('fieldset][field3', t('This checkbox inside a fieldset does not have i… 119 …$form_state->setErrorByName('container][field4', t('This checkbox inside a container does not have… 122 …$form_state->setErrorByName('container][subcontainer][field5', t('This checkbox inside a nested co… 125 …$form_state->setErrorByName('tab3][field6', t('This checkbox inside a vertical tab whose fieldset …
|
/dports/www/drupal8/drupal-8.9.20/core/modules/system/src/Form/ |
H A D | SiteInformationForm.php | 179 …$form_state->setErrorByName('site_frontpage', $this->t("The path '%path' has to start with a slash… 183 …$form_state->setErrorByName('site_frontpage', $this->t("Either the path '%path' is invalid or you … 193 …$form_state->setErrorByName('site_403', $this->t("The path '%path' has to start with a slash.", ['… 196 …$form_state->setErrorByName('site_404', $this->t("The path '%path' has to start with a slash.", ['… 200 …$form_state->setErrorByName('site_403', $this->t("Either the path '%path' is invalid or you do not… 204 …$form_state->setErrorByName('site_404', $this->t("Either the path '%path' is invalid or you do not…
|
/dports/www/drupal9/drupal-9.2.10/core/modules/system/src/Form/ |
H A D | SiteInformationForm.php | 173 …$form_state->setErrorByName('site_frontpage', $this->t("The path '%path' has to start with a slash… 177 …$form_state->setErrorByName('site_frontpage', $this->t("Either the path '%path' is invalid or you … 187 …$form_state->setErrorByName('site_403', $this->t("The path '%path' has to start with a slash.", ['… 190 …$form_state->setErrorByName('site_404', $this->t("The path '%path' has to start with a slash.", ['… 194 …$form_state->setErrorByName('site_403', $this->t("Either the path '%path' is invalid or you do not… 198 …$form_state->setErrorByName('site_404', $this->t("Either the path '%path' is invalid or you do not…
|
/dports/www/drupal8/drupal-8.9.20/core/modules/language/src/Form/ |
H A D | NegotiationUrlForm.php | 154 …$form_state->setErrorByName("prefix][$langcode", $this->t('The prefix may only be left blank for t… 162 … $form_state->setErrorByName("prefix][$langcode", $this->t('The prefix may not contain a slash.')); 167 …$form_state->setErrorByName("prefix][$langcode", $this->t('The prefix for %language, %value, is no… 180 …$form_state->setErrorByName("domain][$langcode", $this->t('The domain may not be left blank for %l… 186 …$form_state->setErrorByName("domain][$langcode", $this->t('The domain for %language, %value, is no… 197 …$form_state->setErrorByName("domain][$langcode", $this->t('The domain for %language may only conta…
|
H A D | NegotiationBrowserForm.php | 161 …$form_state->setErrorByName('mappings][new_mapping][browser_langcode', $this->t('Browser language … 164 …$form_state->setErrorByName('mappings][new_mapping][browser_langcode', $this->t('Browser language … 175 …$form_state->setErrorByName('mappings][' . $key . '][browser_langcode', $this->t('Browser language… 178 …$form_state->setErrorByName('mappings][' . $key . '][browser_langcode', $this->t('Browser language…
|
H A D | LanguageAddForm.php | 120 …$form_state->setErrorByName('langcode', $this->t('The language %language (%langcode) already exist… 124 …$form_state->setErrorByName('predefined_langcode', $this->t('Use the <em>Add language</em> button … 134 …$form_state->setErrorByName('predefined_langcode', $this->t('Fill in the language details and save… 138 …$form_state->setErrorByName('predefined_langcode', $this->t('The language %language (%langcode) al…
|
/dports/www/drupal9/drupal-9.2.10/core/modules/language/src/Form/ |
H A D | NegotiationUrlForm.php | 154 …$form_state->setErrorByName("prefix][$langcode", $this->t('The prefix may only be left blank for t… 162 … $form_state->setErrorByName("prefix][$langcode", $this->t('The prefix may not contain a slash.')); 167 …$form_state->setErrorByName("prefix][$langcode", $this->t('The prefix for %language, %value, is no… 180 …$form_state->setErrorByName("domain][$langcode", $this->t('The domain may not be left blank for %l… 186 …$form_state->setErrorByName("domain][$langcode", $this->t('The domain for %language, %value, is no… 197 …$form_state->setErrorByName("domain][$langcode", $this->t('The domain for %language may only conta…
|
H A D | NegotiationBrowserForm.php | 161 …$form_state->setErrorByName('mappings][new_mapping][browser_langcode', $this->t('Browser language … 164 …$form_state->setErrorByName('mappings][new_mapping][browser_langcode', $this->t('Browser language … 175 …$form_state->setErrorByName('mappings][' . $key . '][browser_langcode', $this->t('Browser language… 178 …$form_state->setErrorByName('mappings][' . $key . '][browser_langcode', $this->t('Browser language…
|
H A D | LanguageAddForm.php | 120 …$form_state->setErrorByName('langcode', $this->t('The language %language (%langcode) already exist… 124 …$form_state->setErrorByName('predefined_langcode', $this->t('Use the <em>Add language</em> button … 134 …$form_state->setErrorByName('predefined_langcode', $this->t('Fill in the language details and save… 138 …$form_state->setErrorByName('predefined_langcode', $this->t('The language %language (%langcode) al…
|
/dports/www/drupal8/drupal-8.9.20/core/modules/config/src/Form/ |
H A D | ConfigSingleImportForm.php | 316 …$form_state->setErrorByName('import', $this->t('The import failed with the following message: %mes… 333 …$form_state->setErrorByName('import', $this->t('Missing ID key "@id_key" for this @entity_type imp… 342 …$form_state->setErrorByName('import', $this->t('An entity with this machine name already exists bu… 346 …$form_state->setErrorByName('import', $this->t('An entity with this machine name already exists bu… 352 …$form_state->setErrorByName('import', $this->t('An entity with this UUID already exists but the ma… 368 $form_state->setErrorByName('import', $this->t('There are no changes to import.')); 395 $form_state->setErrorByName('import', $this->renderer->render($item_list));
|
/dports/www/drupal9/drupal-9.2.10/core/modules/config/src/Form/ |
H A D | ConfigSingleImportForm.php | 306 …$form_state->setErrorByName('import', $this->t('The import failed with the following message: %mes… 323 …$form_state->setErrorByName('import', $this->t('Missing ID key "@id_key" for this @entity_type imp… 332 …$form_state->setErrorByName('import', $this->t('An entity with this machine name already exists bu… 336 …$form_state->setErrorByName('import', $this->t('An entity with this machine name already exists bu… 342 …$form_state->setErrorByName('import', $this->t('An entity with this UUID already exists but the ma… 359 $form_state->setErrorByName('import', $this->t('There are no changes to import.')); 386 $form_state->setErrorByName('import', $this->renderer->render($item_list));
|
/dports/www/drupal8/drupal-8.9.20/core/modules/user/src/Form/ |
H A D | UserPasswordForm.php | 140 …$form_state->setErrorByName('name', $this->t('Too many password recovery requests from your IP add… 155 …$form_state->setErrorByName('name', $this->t('%name is blocked or has not been activated yet.', ['… 163 …$form_state->setErrorByName('name', $this->t('Too many password recovery requests for this account… 171 …$form_state->setErrorByName('name', $this->t('%name is not recognized as a username or an email ad…
|
H A D | UserLoginForm.php | 156 …$form_state->setErrorByName('name', $this->t('The username %name has not been activated or is bloc… 225 …$form_state->setErrorByName('name', $this->formatPlural($flood_config->get('user_limit'), 'There h… 229 …$form_state->setErrorByName('name', $this->t('Too many failed login attempts from your IP address.… 239 …$form_state->setErrorByName('name', $this->t('Unrecognized username or password. <a href=":passwor…
|
/dports/www/drupal8/drupal-8.9.20/core/modules/ban/src/Form/ |
H A D | BanAdmin.php | 107 $form_state->setErrorByName('ip', $this->t('This IP address is already banned.')); 110 $form_state->setErrorByName('ip', $this->t('You may not ban your own IP address.')); 113 $form_state->setErrorByName('ip', $this->t('Enter a valid IP address.'));
|
/dports/www/drupal9/drupal-9.2.10/core/modules/ban/src/Form/ |
H A D | BanAdmin.php | 111 $form_state->setErrorByName('ip', $this->t('This IP address is already banned.')); 114 $form_state->setErrorByName('ip', $this->t('You may not ban your own IP address.')); 117 $form_state->setErrorByName('ip', $this->t('Enter a valid IP address.'));
|
/dports/www/drupal8/drupal-8.9.20/core/modules/field_ui/src/Form/ |
H A D | FieldStorageAddForm.php | 266 …$form_state->setErrorByName('new_storage_type', $this->t('You need to select a field type or an ex… 271 …$form_state->setErrorByName('new_storage_type', $this->t('Adding a new field and re-using an exist… 294 … $form_state->setErrorByName('label', $this->t('Add new field: you need to provide a label.')); 299 …$form_state->setErrorByName('field_name', $this->t('Add new field: you need to provide a machine n… 326 …$form_state->setErrorByName('existing_storage_label', $this->t('Re-use existing field: you need to…
|
/dports/www/drupal9/drupal-9.2.10/core/modules/field_ui/src/Form/ |
H A D | FieldStorageAddForm.php | 246 …$form_state->setErrorByName('new_storage_type', $this->t('You need to select a field type or an ex… 251 …$form_state->setErrorByName('new_storage_type', $this->t('Adding a new field and re-using an exist… 274 … $form_state->setErrorByName('label', $this->t('Add new field: you need to provide a label.')); 279 …$form_state->setErrorByName('field_name', $this->t('Add new field: you need to provide a machine n… 306 …$form_state->setErrorByName('existing_storage_label', $this->t('Re-use existing field: you need to…
|
/dports/www/drupal8/drupal-8.9.20/core/modules/taxonomy/src/ |
H A D | TermForm.php | 106 $form_state->setErrorByName('weight', $this->t('Weight value must be numeric.')); 141 $form_state->setErrorByName('parent', $violation->getMessage()); 144 $form_state->setErrorByName('weight', $violation->getMessage());
|
/dports/www/drupal9/drupal-9.2.10/core/modules/taxonomy/src/ |
H A D | TermForm.php | 106 $form_state->setErrorByName('weight', $this->t('Weight value must be numeric.')); 141 $form_state->setErrorByName('parent', $violation->getMessage()); 144 $form_state->setErrorByName('weight', $violation->getMessage());
|