You are here

public static function StatesListFormatter::defaultSettings in Workflows Field 8

Same name and namespace in other branches
  1. 2.x src/Plugin/Field/FieldFormatter/StatesListFormatter.php \Drupal\workflows_field\Plugin\Field\FieldFormatter\StatesListFormatter::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/FieldFormatter/StatesListFormatter.php, line 85

Class

StatesListFormatter
Plugin implementation of the 'workflows_field_state_list' formatter.

Namespace

Drupal\workflows_field\Plugin\Field\FieldFormatter

Code

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