Skip to content
Snippets Groups Projects
Commit c753ec18 authored by Derek Wright's avatar Derek Wright
Browse files
parent f758cb02
No related branches found
No related tags found
No related merge requests found
Pipeline #85719 passed
...@@ -107,10 +107,9 @@ class EntityInlineForm implements InlineFormInterface { ...@@ -107,10 +107,9 @@ class EntityInlineForm implements InlineFormInterface {
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getEntityTypeLabels() { public function getEntityTypeLabels() {
$lowercase_label = $this->entityType->getSingularLabel();
return [ return [
'singular' => $lowercase_label, 'singular' => $this->entityType->getSingularLabel(),
'plural' => $this->t('@entity_type entities', ['@entity_type' => $lowercase_label]), 'plural' => $this->entityType->getPluralLabel(),
]; ];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment