forked from Snck3rs/contao-leaflet-maps
Use custom generate alias callback.
This commit is contained in:
@@ -174,7 +174,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array
|
||||
'exclude' => true,
|
||||
'inputType' => 'text',
|
||||
'save_callback' => array(
|
||||
\Netzmacht\Contao\Toolkit\Dca::createGenerateAliasCallback('tl_leaflet_icon', 'title'),
|
||||
\Netzmacht\Contao\Leaflet\Dca\Helper::createGenerateAliasCallback('tl_leaflet_icon', 'title'),
|
||||
),
|
||||
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
|
||||
'sql' => "varchar(255) NOT NULL default ''"
|
||||
|
||||
Reference in New Issue
Block a user