You are here

public static function ZoneDefaultWidget::defaultSettings in Address 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/ZoneDefaultWidget.php, line 28

Class

ZoneDefaultWidget
Plugin implementation of the 'address_zone_default' widget.

Namespace

Drupal\address\Plugin\Field\FieldWidget

Code

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