public static function StateTransitionFormFormatter::defaultSettings in State Machine 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/ FieldFormatter/ StateTransitionFormFormatter.php, line 136
Class
- StateTransitionFormFormatter
- Plugin implementation of the 'state_transition_form' formatter.
Namespace
Drupal\state_machine\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'require_confirmation' => FALSE,
'use_modal' => FALSE,
] + parent::defaultSettings();
}