public static function InlineParagraphsBrowserWidgetTrait::defaultSettings in Paragraphs Browser 8
File
- src/
Plugin/ Field/ FieldWidget/ InlineParagraphsBrowserWidgetTrait.php, line 26 - Paragraphs Previewer widget trait implementation for paragraphs.
Class
- InlineParagraphsBrowserWidgetTrait
- Trait of Plugin implementation of the 'entity_reference paragraphs' widget.
Namespace
Drupal\paragraphs_browser\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
$settings = parent::defaultSettings();
$settings['paragraphs_browser'] = '_na';
$settings['modal_width'] = '80%';
$settings['modal_height'] = 'auto';
return $settings;
}