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 022d6bb commit 959d8f1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
32 changes: 0 additions & 32 deletions src/bundle/DependencyInjection/Compiler/ViewBuilderPass.php

This file was deleted.

2 changes: 0 additions & 2 deletions src/bundle/EzSystemsEzSupportToolsBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use EzSystems\EzSupportToolsBundle\DependencyInjection\Compiler\SystemInfoCollectorPass;
use EzSystems\EzSupportToolsBundle\DependencyInjection\Compiler\OutputFormatPass;
use EzSystems\EzSupportToolsBundle\DependencyInjection\Compiler\SystemInfoTabGroupPass;
use EzSystems\EzSupportToolsBundle\DependencyInjection\Compiler\ViewBuilderPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

Expand All @@ -20,7 +19,6 @@ public function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new SystemInfoCollectorPass());
$container->addCompilerPass(new OutputFormatPass());
$container->addCompilerPass(new ViewBuilderPass());
$container->addCompilerPass(new SystemInfoTabGroupPass());
}
}
2 changes: 2 additions & 0 deletions src/bundle/Resources/config/view.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ services:
arguments:
- "@ezpublish.view.configurator"
- "@support_tools.system_info.collector_registry"
tags:
- { name: ibexa.view_builder }

support_tools.view.system_info.provider:
class: "%ezpublish.view_provider.configured.class%"
Expand Down

0 comments on commit 959d8f1

Please # to comment.