mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-03-03 02:28:15 +01:00
Rework validator callbacks to a listener service.
This commit is contained in:
@@ -177,7 +177,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_control'] = array
|
||||
['title'],
|
||||
\Netzmacht\Contao\Leaflet\DependencyInjection\LeafletServices::PARENT_ALIAS_GENERATOR
|
||||
),
|
||||
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
|
||||
['netzmacht.contao_leaflet_maps.listeners.dca.validator', 'validateAlias'],
|
||||
),
|
||||
'eval' => array(
|
||||
'mandatory' => false,
|
||||
|
||||
Reference in New Issue
Block a user