Documentation » Admin

16. Lock Protection »

« 14. Virtual Field Descriptions

This Page

16. Lock Protection »

« 14. Virtual Field Descriptions

15. Bootlint

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.

15.1. Enable Bootlint

To use Bootlint in your admin, you can enable it in your config file:

  • YAML
    # config/packages/sonata_admin.yaml
            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! ;)

Found a typo? Something is wrong in this documentation? Just fork and edit it!