Skip to content

Commit

Permalink
Merge pull request #35 from ezsystems/ezp-32067-tag-view-builder
Browse files Browse the repository at this point in the history
EZP-32067: Tagged ViewBuilder
  • Loading branch information
ViniTou authored Oct 23, 2020
2 parents 2775467 + d045bd4 commit 3eaf121
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 46 deletions.

This file was deleted.

2 changes: 0 additions & 2 deletions src/bundle/EzPlatformContentFormsBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
namespace EzSystems\EzPlatformContentFormsBundle;

use EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Compiler\FieldTypeFormMapperDispatcherPass;
use EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Compiler\ViewBuilderRegistryPass;
use EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Configuration\Parser\ContentCreateView;
use EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Configuration\Parser\ContentEdit;
use EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Configuration\Parser\ContentEditView;
Expand All @@ -23,7 +22,6 @@ public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new FieldTypeFormMapperDispatcherPass());
$container->addCompilerPass(new ViewBuilderRegistryPass());

$eZExtension = $container->getExtension('ezpublish');
$eZExtension->addConfigParser(new ContentEdit());
Expand Down
4 changes: 4 additions & 0 deletions src/bundle/Resources/config/views.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
- '@ezpublish.view.configurator'
- '@ezpublish.view.view_parameters.injector.dispatcher'
- '@ezplatform.content_forms.action_dispatcher.content'
tags:
- { name: ibexa.view_builder }

EzSystems\EzPlatformContentForms\Content\View\Provider\ContentEditView\Configured:
arguments:
Expand Down Expand Up @@ -47,6 +49,8 @@ services:
- '@ezpublish.view.configurator'
- '@ezpublish.view.view_parameters.injector.dispatcher'
- '@ezplatform.content_forms.action_dispatcher.content'
tags:
- { name: ibexa.view_builder }

EzSystems\EzPlatformContentForms\Content\View\Provider\ContentCreateView\Configured:
arguments:
Expand Down

0 comments on commit 3eaf121

Please sign in to comment.