Skip to content

Commit

Permalink
Yaml lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hmert committed Dec 15, 2015
1 parent 2fb74be commit eaeedb4
Showing 1 changed file with 37 additions and 33 deletions.
70 changes: 37 additions & 33 deletions Resources/config/form_types.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
parameters:
jb_fileuploader.form.type.file_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\FileAjaxType
jb_fileuploader.form.type.image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\ImageAjaxType
jb_fileuploader.form.type.crop_image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropImageAjaxType
jb_fileuploader.form.type.crop.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropType

services:
jb_fileuploader.form.type.file_ajax:
class: %jb_fileuploader.form.type.file_ajax.class%
scope: request
arguments:
- @jb_fileuploader.file_history.manager
tags:
- { name: form.type, alias: jb_file_ajax }

jb_fileuploader.form.type.image_ajax:
class: %jb_fileuploader.form.type.image_ajax.class%
scope: request
parent: jb_fileuploader.form.type.file_ajax
tags:
- { name: form.type, alias: jb_image_ajax }

jb_fileuploader.form.type.crop_image_ajax:
class: %jb_fileuploader.form.type.crop_image_ajax.class%
scope: request
parent: jb_fileuploader.form.type.image_ajax
tags:
- { name: form.type, alias: jb_crop_image_ajax }

jb_fileuploader.form.type.crop:
class: %jb_fileuploader.form.type.crop.class%
tags:
- { name: form.type, alias: jb_fileuploader_crop }
parameters:
jb_fileuploader.form.type.crop.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropType
jb_fileuploader.form.type.crop_image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropImageAjaxType
jb_fileuploader.form.type.file_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\FileAjaxType
jb_fileuploader.form.type.image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\ImageAjaxType
services:
jb_fileuploader.form.type.crop:
class: "%jb_fileuploader.form.type.crop.class%"
tags:
-
alias: jb_fileuploader_crop
name: form.type
jb_fileuploader.form.type.crop_image_ajax:
class: "%jb_fileuploader.form.type.crop_image_ajax.class%"
parent: jb_fileuploader.form.type.image_ajax
scope: request
tags:
-
alias: jb_crop_image_ajax
name: form.type
jb_fileuploader.form.type.file_ajax:
arguments:
- "@jb_fileuploader.file_history.manager"
class: "%jb_fileuploader.form.type.file_ajax.class%"
scope: request
tags:
-
alias: jb_file_ajax
name: form.type
jb_fileuploader.form.type.image_ajax:
class: "%jb_fileuploader.form.type.image_ajax.class%"
parent: jb_fileuploader.form.type.file_ajax
scope: request
tags:
-
alias: jb_image_ajax
name: form.type

0 comments on commit eaeedb4

Please sign in to comment.