Make title of record a link to another module in list view
-
17-09-2020 - |
Question
I am currently using the Symfony admin generator to implement a management web application.
I would like to know if there is a way to add a link on the title section of the generator.yml file.
As example:
edit:
title: Configurations > Officials | "link to another module"
Solution
YAML will accept static HTML quite easily in many tags:
edit:
title: <a href="/config">Configurations</a> > <a href="/config/officials">Officials</a>
Note that while some PHP is also available, it is limited compared to the full symfony stack.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow