You are here

public function SubscriptionCancelForm::getCancelText in Mailing List 8

Returns a caption for the link which cancels the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.

Overrides ContentEntityConfirmFormBase::getCancelText

File

src/Form/SubscriptionCancelForm.php, line 81

Class

SubscriptionCancelForm
Builds the form to cancel (delete) subscriptions.

Namespace

Drupal\mailing_list\Form

Code

public function getCancelText() {
  return $this
    ->t('No');
}