You are here

public static function GeofieldDefaultWidget::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/GeofieldDefaultWidget.php, line 24

Class

GeofieldDefaultWidget
Widget implementation of the 'geofield_default' widget.

Namespace

Drupal\geofield\Plugin\Field\FieldWidget

Code

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