sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.11k stars 1.26k forks source link

How can i create a custom breadcrumb #3221

Closed torst closed 8 years ago

torst commented 9 years ago

my current breadcrumb for exemple is Dashboard / Company / Departments.

and i want to add something to be like this

Dashboard / Company / My /Departments

second problem that i want to render a custom navbar title if is empty

Best regards

sirbaconjr commented 8 years ago

As far as I know, you will have to rewrite the buildBreadcrumbs function. You can find it in the Admin class.

greg0ire commented 8 years ago

It's now a separate service, you may inject another one in the admin class if needed.

zhil commented 6 years ago

@greg0ire not any more, it would be nice to have ablitity to customize breadcrumbs