public function ContentModerationNotificationsDeleteForm::getConfirmText in Content Moderation Notifications 8
Same name and namespace in other branches
- 8.3 src/Form/ContentModerationNotificationsDeleteForm.php \Drupal\content_moderation_notifications\Form\ContentModerationNotificationsDeleteForm::getConfirmText()
- 8.2 src/Form/ContentModerationNotificationsDeleteForm.php \Drupal\content_moderation_notifications\Form\ContentModerationNotificationsDeleteForm::getConfirmText()
Gather the confirmation text.
The confirm text is used as the text in the button that confirms the question posed by getQuestion().
Return value
string Translated string.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ ContentModerationNotificationsDeleteForm.php, line 49
Class
- ContentModerationNotificationsDeleteForm
- Class ContentModerationNotificationDeleteForm.
Namespace
Drupal\content_moderation_notifications\FormCode
public function getConfirmText() {
return $this
->t('Delete Notification');
}