mirror of
https://github.com/a2nt/silverstripe-mapboxfield.git
synced 2024-06-18 09:41:31 +02:00
Update SiteConfigExtension.php
This commit is contained in:
parent
3442745c4e
commit
75dde6ce2c
|
@ -12,7 +12,7 @@ class SiteConfigExtension extends Extension
|
||||||
return MapboxField::getAccessToken();
|
return MapboxField::getAccessToken();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function MapAPIKeyFrontend(): string
|
public function MapAPIKeyFrontend(): string
|
||||||
{
|
{
|
||||||
$type = $this->owner->config()->get('map_type');
|
$type = $this->owner->config()->get('map_type');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user