Version

Documentation » Classification

6. Advanced usage »

« 3. Classification Types

5. Advanced Configuration

  • YAML
    sonata_classification:
        class:
            tag:          Application\Sonata\ClassificationBundle\Entity\Tag
            category:     Application\Sonata\ClassificationBundle\Entity\Category
            collection:   Application\Sonata\ClassificationBundle\Entity\Collection
            context:      Application\Sonata\ClassificationBundle\Entity\Context
    
        admin:
            tag:
                class:        Sonata\ClassificationBundle\Admin\TagAdmin
                controller:   SonataAdminBundle:CRUD
                translation:  SonataClassificationBundle
            category:
                class:        Sonata\ClassificationBundle\Admin\CategoryAdmin
                controller:   SonataClassificationBundle:CategoryAdmin
                translation:  SonataClassificationBundle
            collection:
                class:        Sonata\ClassificationBundle\Admin\CollectionAdmin
                controller:   SonataAdminBundle:CRUD
                translation:  SonataClassificationBundle
            context:
                class:        Sonata\ClassificationBundle\Admin\ContextAdmin
                controller:   SonataAdminBundle:CRUD
                translation:  SonataClassificationBundle
    

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