forked from ezsystems/repository-forms
/
views.yml
35 lines (31 loc) · 1.35 KB
/
views.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
_defaults:
public: false
autowire: true
autoconfigure: true
EzSystems\RepositoryForms\Content\View\Builder\ContentEditViewBuilder:
arguments:
- '@ezpublish.api.repository'
- '@ezpublish.view.configurator'
- '@ezpublish.view.view_parameters.injector.dispatcher'
- '$content_edit.templates.edit$'
- '@ezrepoforms.action_dispatcher.content'
EzSystems\RepositoryForms\Content\View\Provider\Configured:
arguments:
- '@ezplatform.repository_forms.content_edit_view.matcher_factory'
tags:
- { name: ezpublish.view_provider, type: EzSystems\RepositoryForms\Content\View\ContentEditView, priority: 10 }
ezplatform.repository_forms.content_edit_view.matcher_factory:
class: '%ezpublish.view.matcher_factory.class%'
arguments:
- '@ezpublish.api.repository'
- 'eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased'
calls:
- [setContainer, ['@service_container']]
- [setMatchConfig, ['$content_edit_view$']]
EzSystems\RepositoryForms\Content\View\Filter\ContentEditViewFilter:
arguments:
- '@ezpublish.api.service.content'
- '@ezpublish.api.service.content_type'
tags:
- { name: kernel.event_subscriber }