You are here

public static function FormatterBase::defaultSettings in Reference Table Formatter 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/FormatterBase.php, line 117

Class

FormatterBase
A base field formatter class for rendering tables.

Namespace

Drupal\reference_table_formatter

Code

public static function defaultSettings() {
  return [
    'view_mode' => 'default',
    'show_entity_label' => 0,
    'empty_cell_value' => '',
    'hide_header' => 0,
  ];
}