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

Fix coding standards issue from security advisory.

parent 8dc765f3
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment