sonata_admin:
    # Extension for translatable admins
    extensions:
        umanit_translation.admin.extension.translatable_admin_extension:
            implements:
                - Umanit\TranslationBundle\Doctrine\Model\TranslatableInterface
services:
    umanit_translation.admin.extension.translatable_admin_extension:
        class: Umanit\TranslationBundle\Admin\Extension\TranslatableAdminExtension
        arguments: ['%umanit_translation.locales%', '%umanit_translation.default_locale%']
        tags:
            - { name: sonata.admin.extension }

    umanit_translation.controller.translatable_crudcontroller:
        class: Umanit\TranslationBundle\Controller\TranslatableCRUDController
        tags:
            - { name: controller.service_arguments }