Skip to content

Commit

Permalink
Fix listener.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bytehead committed Dec 29, 2021
1 parent 1672060 commit ad83e0d
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions core-bundle/src/Resources/config/listener.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ services:
tags:
- kernel.event_listener

contao.listener.bypass_maintenance:
class: Contao\CoreBundle\EventListener\BypassMaintenanceListener
arguments:
- '@contao.security.token_checker'
tags:
# The priority must be higher than the one of the Lexik maintenance bundle (defaults to 0)
- { name: kernel.event_listener, priority: 6 }

contao.listener.clear_session_data:
class: Contao\CoreBundle\EventListener\ClearSessionDataListener
tags:
Expand Down Expand Up @@ -89,6 +81,13 @@ services:
- '@database_connection'
- '@translator'

contao.listener.data_container.page_search:
class: Contao\CoreBundle\EventListener\DataContainer\PageSearchListener
public: true
arguments:
- '@contao.framework'
- '@database_connection'

contao.listener.data_container.page_type_options:
class: Contao\CoreBundle\EventListener\DataContainer\PageTypeOptionsListener
public: true
Expand All @@ -105,6 +104,7 @@ services:
- '@contao.slug'
- '@translator'
- '@database_connection'
- '@contao.routing.page_registry'

contao.listener.data_container.page_use_ssl_default:
class: Contao\CoreBundle\EventListener\DataContainer\PageUseSslDefaultListener
Expand Down Expand Up @@ -394,6 +394,15 @@ services:
tags:
- kernel.event_listener

contao.listener.service_unavailable:
class: Contao\CoreBundle\EventListener\ServiceUnavailableListener
arguments:
- '@contao.routing.scope_matcher'
tags:
# The priority must be lower than the Symfony route listener (defaults to 32)
# and lower than the Symfony firewall listener (defaults to 8)
- { name: kernel.event_listener, priority: 6 }

contao.listener.store_referer:
class: Contao\CoreBundle\EventListener\StoreRefererListener
arguments:
Expand Down

0 comments on commit ad83e0d

Please sign in to comment.