Skip to content
Snippets Groups Projects
Commit e6fe96be authored by Jess's avatar Jess
Browse files

Fix coding standards issue from security advisory.

(cherry picked from commit 13f6bba1)
parent 9bdef2ac
No related branches found
No related tags found
Loading
......@@ -58,8 +58,8 @@ public function generateEntityMetadata(EntityInterface $entity) {
return [
'label' => $entity->access('view label') ? $entity->label() : new TranslatableMarkup('@label @id', [
'@label' => $entity->getEntityType()->getSingularLabel(),
'@id' => $entity->id()
])
'@id' => $entity->id(),
]),
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment