#
# Module services
#
# Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
# See https://www.x-cart.com/license-agreement.html for license details.
services:
  _defaults:
    autowire: true
    autoconfigure: true
  XC\ThemeTweaker\Core\Templating\Twig\Functions: null
  XC\ThemeTweaker\Core\Templating\Twig\Extension\ThemeTweakerExtension: null
  XC\ThemeTweaker\Core\Templating\Twig\Loader\ThemeTweaker:
    tags:
      - {name: twig.loader, priority: 100}

  XC\ThemeTweaker\Core\EventListener:
    tags:
      - {name: kernel.event_listener, event: xcart.service.view-lists.read.before, method: onViewListsReadBefore}
