You are here

public static function ProfileFormWidget::defaultSettings in Profile 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/ProfileFormWidget.php, line 98

Class

ProfileFormWidget
Plugin implementation of the 'profile_form' widget.

Namespace

Drupal\profile\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'form_mode' => 'default',
  ];
}