public static function ParagraphsTableFormatter::defaultSettings in Paragraphs table 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/ ParagraphsTableFormatter.php, line 84
Class
- ParagraphsTableFormatter
- Plugin implementation of the 'paragraphs_table_formatter' formatter.
Namespace
Drupal\paragraphs_table\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
// Implement default settings.
'view_mode' => 'default',
'vertical' => FALSE,
'caption' => '',
'mode' => '',
'chart_type' => '',
'chart_width' => 900,
'chart_height' => 300,
'import' => '',
'empty_cell_value' => FALSE,
'empty' => FALSE,
'ajax' => FALSE,
'custom_class' => '',
'hide_line_operations' => FALSE,
] + parent::defaultSettings();
}