mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 15:05:54 +00: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'),
|
MapboxField::create('Map', 'Choose a location', 'Lat', 'Lng'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
$this->extend('updateMapPinFields', $fields);
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user