public static function TextfieldFormatter::defaultSettings in jEditable inline content editing 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ TextfieldFormatter.php, line 30
Class
- TextfieldFormatter
- Plugin implementation of the 'text_default' formatter.
Namespace
Drupal\jeditable\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'trim_length' => '600',
] + parent::defaultSettings();
}