Commit 8eac83ac authored by hmdnawaz's avatar hmdnawaz Committed by Joel Muzzerall
Browse files

Issue #2617838 by hmdnawaz: Invalid place holder !message and !name and ajax error

parent dc652390
......@@ -206,7 +206,7 @@ class FieldCollectionEmbedWidget extends WidgetBase {
$form_state->setError($elements, $elements['#required_error']);
}
else if (isset($elements['#title'])) {
$form_state->setError($elements, t('!name field is required.', array('!name' => $elements['#title'])));
$form_state->setError($elements, t('@name field is required.', array('@name' => $elements['#title'])));
}
else {
$form_state->setError($elements);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment