Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (30 loc) · 1.09 KB

UPGRADE-2.0.md

File metadata and controls

36 lines (30 loc) · 1.09 KB

UPGRADE FROM 1.x to 2.0

SonataAdmin Support

  • The Admin for Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent was moved into symfony-cmf/sonata-admin-integration-bundle. With the move, the admin service names also changed. If you are using the admin, you need to adjust your configuration, i.e. in the sonata dashboard::

    Before:

         # app/config/config.yml
         sonata_admin:
             dashboard:
                groups:
                    content:
                        label: Content
                        icon: '<i class="fa fa-file-text-o"></i>'
                        items:
                            - cmf_sonata_admin_integration.content.admin

    After:

         # app/config/config.yml
         sonata_admin:
            dashboard:
                groups:
                    content:
                        label: Content
                        icon: '<i class="fa fa-file-text-o"></i>'
                        items:
                            - cmf_sonata_admin_integration.content.admin