You are here

public function ParagraphsPreviewerWidgetTrait::settingsSummary in Paragraphs Previewer 8

File

src/Plugin/Field/FieldWidget/ParagraphsPreviewerWidgetTrait.php, line 28

Class

ParagraphsPreviewerWidgetTrait
Paragraphs previewer trait to support multiple paragraphs widgets.

Namespace

Drupal\paragraphs_previewer\Plugin\Field\FieldWidget

Code

public function settingsSummary() {
  $summary = parent::settingsSummary();
  array_unshift($summary, t('Previewer: Enabled'));
  return $summary;
}