{"action":"closed","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3486","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3486/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3486/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3486/events","html_url":"https://github.com/sonata-project/SonataAdminBundle/issues/3486","id":121474332,"number":3486,"title":"Get Entity Label from AdminClass","user":{"login":"ejkun","id":7905944,"avatar_url":"https://avatars.githubusercontent.com/u/7905944?v=3","gravatar_id":"","url":"https://api.github.com/users/ejkun","html_url":"https://github.com/ejkun","followers_url":"https://api.github.com/users/ejkun/followers","following_url":"https://api.github.com/users/ejkun/following{/other_user}","gists_url":"https://api.github.com/users/ejkun/gists{/gist_id}","starred_url":"https://api.github.com/users/ejkun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejkun/subscriptions","organizations_url":"https://api.github.com/users/ejkun/orgs","repos_url":"https://api.github.com/users/ejkun/repos","events_url":"https://api.github.com/users/ejkun/events{/privacy}","received_events_url":"https://api.github.com/users/ejkun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-10T12:39:36Z","updated_at":"2015-12-10T12:58:42Z","closed_at":"2015-12-10T12:58:42Z","body":"Is there any way to get the label from the admin service of a entity?\r\n\r\nI'm trying to rewrite the buildBreadcrumb function, since the \"List\" part of the breadcrumb doesn't work for portuguese. I've managed to create a label, so I can give the translation to the breadcrumb. But the label that SonataAdmin Class use is the name of the entity class, and I want to use the label that I created when declaring the service of the entity.\r\n\r\nCan anyone help me with that?"}}