forked from Snck3rs/contao-leaflet-maps
Rename listener namespace.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
services:
|
||||
netzmacht.contao_leaflet_maps.listeners.dca.map:
|
||||
class: Netzmacht\Contao\Leaflet\Listeners\Dca\MapDcaListener
|
||||
class: Netzmacht\Contao\Leaflet\Listener\Dca\MapDcaListener
|
||||
arguments:
|
||||
- '@netzmacht.contao_toolkit.dca.manager'
|
||||
- '@database_connection'
|
||||
|
||||
netzmacht.contao_leaflet_maps.listeners.dca.control:
|
||||
class: Netzmacht\Contao\Leaflet\Listeners\Dca\ControlDcaListener
|
||||
class: Netzmacht\Contao\Leaflet\Listener\Dca\ControlDcaListener
|
||||
arguments:
|
||||
- '@netzmacht.contao_toolkit.dca.manager'
|
||||
- '@database_connection'
|
||||
|
||||
@@ -301,7 +301,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_control'] = array
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_control']['layer'],
|
||||
'exclude' => true,
|
||||
'inputType' => 'select',
|
||||
'options_callback' => \Netzmacht\Contao\Leaflet\Listeners\Dca\ControlDcaListener::callback('getLayers'),
|
||||
'options_callback' => \Netzmacht\Contao\Leaflet\Listener\Dca\ControlDcaListener::callback('getLayers'),
|
||||
'eval' => array(
|
||||
'style' => 'width: 300px',
|
||||
'chosen' => true,
|
||||
|
||||
Reference in New Issue
Block a user