Version

master

Documentation » Propel Admin

3. Model Filter »

« 1. Installation

2. Propel Admin Class

A basic Admin class for a Propel model is defined by this service:

The admin class should extend the Sonata\PropelAdminBundle\Admin\Admin class.

services:
    depot.admin:
        class: Ormigo\Bundle\TransactionBundle\Admin\DepotAdmin
        arguments:
            - ~
            - 'Ormigo\Bundle\TransactionBundle\Model\Depot'
            - ''
        tags:
            -
                name: 'sonata.admin'
                manager_type: 'propel'
                group: 'Transactions'
                label: 'Depot'

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