The admin comes with Bootlint integration since version 3.0. Bootlint is an HTML linter for Bootstrap projects.
You should use it when you want add some contributions on Sonata UI to check the eventual Twitter Bootstrap conventions' mistakes.
14.1. Enable Bootlint¶
To use Bootlint in your admin, you can enable it in your config file:
1 2 3 4 5
# config/packages/sonata_admin.yaml sonata_admin: options: use_bootlint: true # enable Bootlint
Then open your browser debugger to look after some Bootlint warnings on console.
No warning? Congrats! Your page is fully Bootstrap compliant! ;)
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.