init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
26
vendor/gregwar/image-bundle/Resources/config/services.yml
vendored
Normal file
26
vendor/gregwar/image-bundle/Resources/config/services.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
parameters:
|
||||
image.handling.class: Gregwar\ImageBundle\Services\ImageHandling
|
||||
image.handler.class: Gregwar\ImageBundle\ImageHandler
|
||||
|
||||
services:
|
||||
# Image handling factory
|
||||
image.handling:
|
||||
class: '%image.handling.class%'
|
||||
public: true
|
||||
arguments:
|
||||
- '%gregwar_image.cache_dir%'
|
||||
- '%gregwar_image.cache_dir_mode%'
|
||||
- '%image.handler.class%'
|
||||
- '@service_container'
|
||||
- '@assets.packages'
|
||||
- '@file_locator'
|
||||
- '%gregwar_image.throw_exception%'
|
||||
- '%gregwar_image.fallback_image%'
|
||||
|
||||
# Helper Twig
|
||||
twig.extension.image:
|
||||
class: Gregwar\ImageBundle\Extensions\ImageTwig
|
||||
arguments: ['@image.handling', '%gregwar_image.web_dir%']
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
Loading…
Add table
Add a link
Reference in a new issue