public static function Table::defaultSettings in Double Field 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/Field/FieldFormatter/Table.php \Drupal\double_field\Plugin\Field\FieldFormatter\Table::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides Base::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ Table.php, line 22
Class
- Table
- Plugin implementations for 'table' formatter.
Namespace
Drupal\double_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() : array {
return [
'number_column' => FALSE,
'number_column_label' => '№',
'first_column_label' => '',
'second_column_label' => '',
] + parent::defaultSettings();
}