forked from Snck3rs/contao-leaflet-maps
Use PHP's ::class constant.
This commit is contained in:
@@ -46,7 +46,7 @@ array_insert(
|
||||
),
|
||||
'leaflet_about' => array
|
||||
(
|
||||
'callback' => 'Netzmacht\Contao\Leaflet\Backend\About',
|
||||
'callback' => Netzmacht\Contao\Leaflet\Backend\About::class,
|
||||
'icon' => 'bundles/netzmachtcontaoleaflet/img/about.png',
|
||||
'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/about.css',
|
||||
)
|
||||
|
||||
@@ -240,7 +240,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_vector'] = [
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['popup'],
|
||||
'exclude' => true,
|
||||
'inputType' => 'select',
|
||||
'options_callback' => ['Netzmacht\Contao\Leaflet\Listener\Dca\MarkerDcaListener', 'getPopups'],
|
||||
'options_callback' => ['netzmacht.contao_leaflet.listeners.dca.vector', 'getPopups'],
|
||||
'eval' => [
|
||||
'mandatory' => false,
|
||||
'tl_class' => 'w50',
|
||||
|
||||
Reference in New Issue
Block a user