Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
450d8c9b
Commit
450d8c9b
authored
Sep 09, 2014
by
alexpott
Browse files
Issue
#2273665
by nikop | Charles Belov: Fixed Inconsistent wording on Manage Fields tab.
parent
bae17d13
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/field_ui/src/FieldOverview.php
View file @
450d8c9b
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment