You are here

public function ParagraphsTableFormatter::getConfigurableViewModes in Paragraphs table 8

Support Datatable https://datatables.net/ https://bootstrap-table.com/.

1 call to ParagraphsTableFormatter::getConfigurableViewModes()
ParagraphsTableFormatter::settingsForm in src/Plugin/Field/FieldFormatter/ParagraphsTableFormatter.php
Returns a form to configure settings for the formatter.

File

src/Plugin/Field/FieldFormatter/ParagraphsTableFormatter.php, line 739

Class

ParagraphsTableFormatter
Plugin implementation of the 'paragraphs_table_formatter' formatter.

Namespace

Drupal\paragraphs_table\Plugin\Field\FieldFormatter

Code

public function getConfigurableViewModes() {
  return [
    'datatables' => $this
      ->t('Datatables'),
    'bootstrapTable' => $this
      ->t('Bootstrap Table'),
    'googleCharts' => $this
      ->t('Google Charts'),
  ];
}