mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Allow extending MapPin fields
This commit is contained in:
parent
3b7e0f1493
commit
2135329f4f
@ -84,6 +84,8 @@ class MapPin extends DataObject
|
||||
MapboxField::create('Map', 'Choose a location', 'Lat', 'Lng'),
|
||||
]);
|
||||
|
||||
$this->extend('updateMapPinFields', $fields);
|
||||
|
||||
return $fields;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user