public function PrivateMessageThreadMemberWidget::settingsSummary 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::settingsSummary()
The settings summary is returned empty, as the parent settings have no effect on this form.
Overrides EntityReferenceAutocompleteWidget::settingsSummary
File
- src/
Plugin/ Field/ FieldWidget/ PrivateMessageThreadMemberWidget.php, line 126
Class
- PrivateMessageThreadMemberWidget
- Defines the private message thread member widget.
Namespace
Drupal\private_message\Plugin\Field\FieldWidgetCode
public function settingsSummary() {
$summary = parent::settingsSummary();
unset($summary[0]);
$summary[] = $this
->t('Maximum thread members: @count', [
'@count' => $this
->getSetting('max_members'),
]);
return $summary;
}