Permalink
Browse files

Add service config for new crop filter

  • Loading branch information...
1 parent 89a3347 commit bf0c3494beed5733ef1343a1c5ab3204a371f690 @ardianys ardianys committed Feb 21, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 Resources/config/imagine.xml
@@ -49,6 +49,8 @@
<parameter key="imagine.filter.loader.chain.class">Avalanche\Bundle\ImagineBundle\Imagine\Filter\Loader\ChainFilterLoader</parameter>
+ <parameter key="imagine.filter.loader.crop.class">Avalanche\Bundle\ImagineBundle\Imagine\Filter\Loader\CropFilterLoader</parameter>
+
</parameters>
<services>
@@ -135,6 +137,10 @@
<argument type="service" id="imagine.filter.manager" />
<tag name="imagine.filter.loader" filter="chain" />
</service>
+
+ <service id="imagine.filter.loader.crop" class="%imagine.filter.loader.crop.class%">
+ <tag name="imagine.filter.loader" filter="crop" />
+ </service>
</services>
</container>

0 comments on commit bf0c349

Please sign in to comment.