public static function PrivateMessageThreadMemberWidget::defaultSettings in Private Message 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldWidget/PrivateMessageThreadMemberWidget.php \Drupal\private_message\Plugin\Field\FieldWidget\PrivateMessageThreadMemberWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides EntityReferenceAutocompleteWidget::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ PrivateMessageThreadMemberWidget.php, line 114
Class
- PrivateMessageThreadMemberWidget
- Defines the private message thread member widget.
Namespace
Drupal\private_message\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'max_members' => 0,
] + parent::defaultSettings();
}