Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable search in Sonata Admin

How can I disable the search feature in Sonata Admin Bundle, in order to not show the search input field in the upper menu?

like image 667
Guillermo Gutiérrez Avatar asked Mar 18 '14 22:03

Guillermo Gutiérrez


1 Answers

In Sonata Admin version >= 3.0 it's as simple as:

sonata_admin:
    search: false

in your config/packages/sonata_admin.yaml.

like image 173
emix Avatar answered Sep 22 '22 16:09

emix