public static function ParagraphsPreviewerWidgetTrait::defaultSettings in Paragraphs Previewer 8
File
- src/
Plugin/ Field/ FieldWidget/ ParagraphsPreviewerWidgetTrait.php, line 19
Class
- ParagraphsPreviewerWidgetTrait
- Paragraphs previewer trait to support multiple paragraphs widgets.
Namespace
Drupal\paragraphs_previewer\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
$settings = parent::defaultSettings();
$settings['edit_mode'] = static::PARAGRAPHS_PREVIEWER_DEFAULT_EDIT_MODE;
return $settings;
}