public function PushNotificationDeleteForm::getConfirmText in Push Notifications 8
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/ PushNotificationDeleteForm.php, line 39 - Contains Drupal\push_notifications\Form\PushNotificationDeleteForm.
Class
- PushNotificationDeleteForm
- Provides a form for deleting a push_notification entity.
Namespace
Drupal\push_notifications\FormCode
public function getConfirmText() {
return $this
->t('Delete Push Notification');
}