Skip to content

Instantly share code, notes, and snippets.

@satsura
Created January 6, 2017 15:39
Show Gist options
  • Save satsura/4427a7209b182fb37cc97b51a8880f52 to your computer and use it in GitHub Desktop.
Save satsura/4427a7209b182fb37cc97b51a8880f52 to your computer and use it in GitHub Desktop.
Bug ezobjectwrapperbundle
# Services.yml
parameters:
flammarionmultisite.wrapper.repository.slider: Flammarion\MultisiteBundle\Core\Content\Repository\SliderRepository
ezobject_wrapper.repository.slider:
class: %flammarionmultisite.wrapper.repository.slider%
parent: ezobject_wrapper.repository.abstract
arguments:
- @ezpublish.api.repository
- @flammarionmultisite.repository.book
- @flammarion_multisite.helper.related_document_helper
calls:
- [ setRichTextConverter, [ '@ezpublish.fieldType.ezxmltext.converter.html5' ] ]
- [ setRouter, [ '@router' ] ]
tags:
- {name: ezobject_wrapper.repository, content_type: flammarion_class_actualite}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment