From 25b90f4c13af62c1d41de4db4c7bd18b18589bf1 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Fri, 6 Oct 2017 15:10:01 +0200 Subject: [PATCH] Register insert tag replacer. --- src/Resources/config/services.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/Resources/config/services.yml b/src/Resources/config/services.yml index 5527eb4..f2e46ee 100644 --- a/src/Resources/config/services.yml +++ b/src/Resources/config/services.yml @@ -82,8 +82,16 @@ services: - { name: 'netzmacht.contao_toolkit.component.content_element_factory' } netzmacht.contao_leaflet_maps.frontend.module_factory: - class: Netzmacht\Contao\Leaflet\Frontend\Module\MapModuleFactory - arguments: - - '@service_container' - tags: - - { name: 'netzmacht.contao_toolkit.component.frontend_module_factory' } + class: Netzmacht\Contao\Leaflet\Frontend\Module\MapModuleFactory + arguments: + - '@service_container' + tags: + - { name: 'netzmacht.contao_toolkit.component.frontend_module_factory' } + + netzmacht.contao_leaflet_maps.frontend.insert_tag: + class: Netzmacht\Contao\Leaflet\Frontend\InsertTag\LeafletInsertTagParser + arguments: + - '@netzmacht.contao_leaflet_maps.map.provider' + - '%kernel.debug%' + tags: + - { name: 'netzmacht.contao_toolkit.insert_tag_parser' }