Skip to content

Commit

Permalink
Merge pull request #70 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 a6034a7 + 959d8f1 commit 78fb7a2
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 78fb7a2

Please # to comment.