You are here

public static function ParagraphsTableWidget::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 ParagraphsWidget::defaultSettings

File

src/Plugin/Field/FieldWidget/ParagraphsTableWidget.php, line 27

Class

ParagraphsTableWidget
Plugin implementation of the 'paragraphs_table_widget' widget.

Namespace

Drupal\paragraphs_table\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'vertical' => FALSE,
    'paste_clipboard' => FALSE,
    'show_all' => FALSE,
    'duplicate' => FALSE,
    'features' => [
      'duplicate' => 'duplicate',
    ],
  ] + parent::defaultSettings();
}