public static function RadioactivityReferenceEmitter::defaultSettings in Radioactivity 4.0.x
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/ FieldFormatter/ RadioactivityReferenceEmitter.php, line 26
Class
- RadioactivityReferenceEmitter
- Plugin implementation of the 'radioactivity_reference_emitter' formatter.
Namespace
Drupal\radioactivity\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'energy' => 10,
'display' => 'none',
] + parent::defaultSettings();
}