Replace old callback notation.

This commit is contained in:
David Molineus
2017-10-06 13:21:06 +02:00
parent 1fc47f705d
commit e67b152225
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
* @filesource * @filesource
*/ */
namespace Netzmacht\Contao\Leaflet\Listeners\Dca; namespace Netzmacht\Contao\Leaflet\Listener\Dca;
use Doctrine\DBAL\Connection; use Doctrine\DBAL\Connection;
use Netzmacht\Contao\Toolkit\Dca\Listener\AbstractListener; use Netzmacht\Contao\Toolkit\Dca\Listener\AbstractListener;

View File

@@ -301,7 +301,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_control'] = array
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_control']['layer'], 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_control']['layer'],
'exclude' => true, 'exclude' => true,
'inputType' => 'select', 'inputType' => 'select',
'options_callback' => \Netzmacht\Contao\Leaflet\Listener\Dca\ControlDcaListener::callback('getLayers'), 'options_callback' => ['netzmacht.contao_leaflet_maps.listeners.dca.control', 'getLayers'],
'eval' => array( 'eval' => array(
'style' => 'width: 300px', 'style' => 'width: 300px',
'chosen' => true, 'chosen' => true,