public static function FontawesomeIconpicker::defaultSettings in Font Awesome Iconpicker 8
Same name in this branch
- 8 src/Plugin/Field/FieldFormatter/FontawesomeIconpicker.php \Drupal\fontawesome_iconpicker\Plugin\Field\FieldFormatter\FontawesomeIconpicker::defaultSettings()
- 8 src/Plugin/Field/FieldWidget/FontawesomeIconpicker.php \Drupal\fontawesome_iconpicker\Plugin\Field\FieldWidget\FontawesomeIconpicker::defaultSettings()
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/ FontawesomeIconpicker.php, line 26
Class
- FontawesomeIconpicker
- Plugin implementation of the 'fontawesome_iconpicker' widget.
Namespace
Drupal\fontawesome_iconpicker\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'size' => 60,
'placeholder' => '',
'type' => '',
] + parent::defaultSettings();
}