Skip to content
Snippets Groups Projects
Commit 450d8c9b authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2273665 by nikop | Charles Belov: Fixed Inconsistent wording on Manage Fields tab.

parent bae17d13
Branches
Tags
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
......@@ -309,7 +309,7 @@ protected function validateAddNew(array $form, FormStateInterface $form_state) {
// Missing field name.
if (!$field['field_name']) {
$form_state->setErrorByName('fields][_add_new_field][field_name', $this->t('Add new field: you need to provide a field name.'));
$form_state->setErrorByName('fields][_add_new_field][field_name', $this->t('Add new field: you need to provide a machine name for the field.'));
}
// Field name validation.
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment