Skip to content

Commit

Permalink
EZP-32067: Tagged ViewBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Oct 22, 2020
1 parent 2775467 commit d045bd4
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 d045bd4

Please sign in to comment.