You are here

public static function GeofieldLatLonWidget::defaultSettings in Geofield 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldWidget/GeofieldLatLonWidget.php, line 31

Class

GeofieldLatLonWidget
Plugin implementation of the 'geofield_latlon' widget.

Namespace

Drupal\geofield\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'html5_geolocation' => FALSE,
  ] + parent::defaultSettings();
}