public function PrivateMessageThreadDeleteForm::getConfirmText in Private Message 8
Same name and namespace in other branches
- 8.2 src/Form/PrivateMessageThreadDeleteForm.php \Drupal\private_message\Form\PrivateMessageThreadDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ PrivateMessageThreadDeleteForm.php, line 38
Class
- PrivateMessageThreadDeleteForm
- Form definition for the private message delete form.
Namespace
Drupal\private_message\FormCode
public function getConfirmText() {
return $this
->t('Delete thread');
}