Skip to content

Commit

Permalink
cleanup helpers.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Oct 25, 2024
1 parent 8f52267 commit 7890d01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions src/bundle/Core/Resources/config/helpers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,33 @@ parameters:
services:
# Helpers
Ibexa\Core\Helper\TranslationHelper:
class: Ibexa\Core\Helper\TranslationHelper
arguments:
- '@ibexa.config.resolver'
- '@ibexa.api.service.content'
- '%ibexa.site_access.by_language%'
- "@?logger"

Ibexa\Core\Helper\FieldHelper:
class: Ibexa\Core\Helper\FieldHelper
arguments: ['@Ibexa\Core\Helper\TranslationHelper', '@ibexa.api.service.content_type', '@ibexa.api.service.field_type']

Ibexa\Core\Helper\ContentPreviewHelper:
class: Ibexa\Core\Helper\ContentPreviewHelper
arguments: ["@event_dispatcher", '@Ibexa\Core\MVC\Symfony\SiteAccess\Router']
calls:
- [setSiteAccess, ['@Ibexa\Core\MVC\Symfony\SiteAccess']]

Ibexa\Bundle\Core\EventListener\ConfigScopeListener:
class: Ibexa\Bundle\Core\EventListener\ConfigScopeListener
arguments:
$configResolvers: !tagged ibexa.site.config.resolver
$viewManager: '@Ibexa\Core\MVC\Symfony\View\ViewManagerInterface'
tags:
- { name: kernel.event_subscriber }

Ibexa\Core\Helper\PreviewLocationProvider:
class: Ibexa\Core\Helper\PreviewLocationProvider
arguments:
- '@ibexa.api.service.location'
- '@ibexa.api.service.content'
- '@Ibexa\Core\Persistence\Cache\LocationHandler'

Ibexa\Core\Helper\ContentInfoLocationLoader\SudoMainLocationLoader:
class: 'Ibexa\Core\Helper\ContentInfoLocationLoader\SudoMainLocationLoader'
arguments:
- '@ibexa.api.repository'

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/Core/Repository/ContentServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
use Ibexa\Contracts\Core\Repository\Values\Content\Language;
use Ibexa\Contracts\Core\Repository\Values\Content\Location;
use Ibexa\Contracts\Core\Repository\Values\Content\Relation;
use Ibexa\Contracts\Core\Repository\Values\Content\RelationType;
use Ibexa\Contracts\Core\Repository\Values\Content\RelationList\RelationListItemInterface;
use Ibexa\Contracts\Core\Repository\Values\Content\RelationType;
use Ibexa\Contracts\Core\Repository\Values\Content\Section;
use Ibexa\Contracts\Core\Repository\Values\Content\URLAlias;
use Ibexa\Contracts\Core\Repository\Values\Content\VersionInfo;
Expand Down

0 comments on commit 7890d01

Please sign in to comment.