You are here

public static function StatusPropertyFormatter::defaultSettings in Apigee Edge 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/StatusPropertyFormatter.php, line 46

Class

StatusPropertyFormatter
Plugin implementation of the 'status_property' formatter.

Namespace

Drupal\apigee_edge\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    StatusPropertyElement::INDICATOR_STATUS_OK => '',
    StatusPropertyElement::INDICATOR_STATUS_WARNING => '',
    StatusPropertyElement::INDICATOR_STATUS_ERROR => '',
  ] + parent::defaultSettings();
}