Skip to content
Snippets Groups Projects
Commit d9587740 authored by JD Leonard's avatar JD Leonard Committed by Aaron Bauman
Browse files

Issue #3217061 by jdleonard: Call to undefined method ContentEntityType::getLowercaseLabel()

parent 8fb63831
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ class UniqueFieldsConstraintValidator extends ConstraintValidator {
->load($id);
$url = $entity->toUrl();
$message_replacements = [
'@entity_type' => $entity_type->getLowercaseLabel(),
'@entity_type' => $entity_type->getSingularLabel(),
':url' => $url->toString(),
'@label' => $entity->label(),
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment