From e6ed2c456d4dfa9ca1730287629a93743a33d5ad Mon Sep 17 00:00:00 2001 From: David Molineus Date: Mon, 9 Oct 2017 14:47:38 +0200 Subject: [PATCH] Define event name. --- src/Resources/config/listeners.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/config/listeners.yml b/src/Resources/config/listeners.yml index a9986cf..cb909d6 100644 --- a/src/Resources/config/listeners.yml +++ b/src/Resources/config/listeners.yml @@ -67,4 +67,4 @@ services: - '@netzmacht.contao_leaflet_maps.definition.mapper' - '%netzmacht.contao_leaflet_maps.libraries%' tags: - - { name: 'kernel.event_listener', event: 'netzmacht.contao_leaflet.get_javascript' } + - { name: 'kernel.event_listener', event: 'netzmacht.contao_leaflet.get_javascript', method: 'onGetJavascriptEvent' }