public static function ParagraphsSmartTrimFormatter::defaultSettings in Paragraphs Trimmed 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides ParagraphsTrimmedFormatterBase::defaultSettings
File
- modules/
paragraphs_smart_trim/ src/ Plugin/ Field/ FieldFormatter/ ParagraphsSmartTrimFormatter.php, line 33
Class
- ParagraphsSmartTrimFormatter
- Plugin implementation of the 'paragraphs_trimmed_formatter' formatter.
Namespace
Drupal\paragraphs_smart_trim\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'summary_handler' => 'ignore',
) + parent::defaultSettings();
}