You are here

public function PushNotificationsTokenDeleteForm::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/PushNotificationsTokenDeleteForm.php, line 38
Contains \Drupal\push_notifications\Form\PushNotificationsTokenDeleteForm.

Class

PushNotificationsTokenDeleteForm
Provides a form for deleting a push_notifications_token entity.

Namespace

Drupal\push_notifications\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}