Store layer relations in extra table.
This commit is contained in:
1 parent
c7f37238d9
commit
ff2c3fb8c3
12 files changed
+307
-29
No files matched your search
@@ -163,9 +163,15 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array
|
||||
'exclude' => true,
|
||||
'inputType' => 'checkboxWizard',
|
||||
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\Leaflet', 'getLayers'),
|
||||
'default' => '',
|
||||
'load_callback' => array(
|
||||
array('Netzmacht\Contao\Leaflet\Dca\Map', 'loadLayerRelations'),
|
||||
),
|
||||
'save_callback' => array(
|
||||
array('Netzmacht\Contao\Leaflet\Dca\Map', 'saveLayerRelations'),
|
||||
),
|
||||
'eval' => array(
|
||||
'multiple' => true,
|
||||
'doNotSaveEmpty' => true,
|
||||
),
|
||||
'sql' => "mediumblob NULL"
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user