简体   繁体   中英

Sonata Admin Dashboard remove list link for one entity only

I have many lists are showing on the dashboard, but I want to remove some of them.

I still want list to work as it is, but just remove the link from the dashboard. I'm not sure thats even possible or not, there is no doc about it.

There is a tag show_in_dashboard for service configuration:

foo.admin.bar:
    class: Foo\Bar\FooBarAdmin
    ...
    tags:
        -
            name:              sonata.admin
            manager_type:      orm
            group:             'Group'
            label:             'Label'
            show_in_dashboard: false

可以将其添加到文档@Basit吗?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM