symfony-cmf/BlockBundle — pull request #115 by nicolas-bastien (2013-08-09 08:12:04+00:00)
Title: #108 : BaseAdminExtension refactor

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | [#108]
| License | MIT
| Doc PR | []

- rename BaseAdminExtension to Admin\Entension\BlockCacheExtension
- remove the enabled field mapping and plug methods to publishable to fit BlockInterface
- create a new Cache form group for admin form
- plug every service to isPublishable to fit the publishWorkflow

to enabled this extension you need to add this in your config file :

sonata_admin:
extensions:
cmf_block.admin_extension.cache:
implements:
- Sonata\BlockBundle\Model\BlockInterface