public function GoogleAnalyticsCounterRevokeForm::getCancelText in Google Analytics Counter 8.3
Returns a caption for the link which cancels the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.
Overrides ConfirmFormBase::getCancelText
File
- src/
Form/ GoogleAnalyticsCounterRevokeForm.php, line 42
Class
- GoogleAnalyticsCounterRevokeForm
- Class GoogleAnalyticsCounterRevokeForm.
Namespace
Drupal\google_analytics_counter\FormCode
public function getCancelText() {
return $this
->t('No');
}