public static function PrivateMessageThreadMessageFormatter::defaultSettings in Private Message 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/PrivateMessageThreadMessageFormatter.php \Drupal\private_message\Plugin\Field\FieldFormatter\PrivateMessageThreadMessageFormatter::defaultSettings()
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/ PrivateMessageThreadMessageFormatter.php, line 154
Class
- PrivateMessageThreadMessageFormatter
- Defines the private message thread message field formatter.
Namespace
Drupal\private_message\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'message_count' => 5,
'ajax_previous_load_count' => 5,
'message_order' => 'asc',
'ajax_refresh_rate' => 20,
'view_mode' => 'default',
] + parent::defaultSettings();
}