sonata_user.yaml 676 Bytes
Newer Older
1
2
3
4
5
6
sonata_user:
    impersonating:
        route: sonata_admin_dashboard
    manager_type: mongodb # can be orm or mongodb
    class:                  # Entity Classes
        user:               App\Document\User
Sebastian Castro's avatar
Sebastian Castro committed
7
        group:              App\Application\Sonata\UserBundle\Document\Group
8
9
10
11

    admin:                  # Admin Classes
        user:
            class:          App\Admin\UserAdmin
Sebastian Castro's avatar
Sebastian Castro committed
12
            controller:     App\Controller\UserAdmin
13
14
15
16
17
18
            translation:    SonataUserBundle

        group:
            class:          Sonata\UserBundle\Admin\Document\GroupAdmin
            controller:     SonataAdminBundle:CRUD
            translation:    SonataUserBundle