You are here

public function GoogleApiClientRevokeForm::getConfirmText in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/GoogleApiClientRevokeForm.php \Drupal\google_api_client\Form\GoogleApiClientRevokeForm::getConfirmText()
  2. 8.2 src/Form/GoogleApiClientRevokeForm.php \Drupal\google_api_client\Form\GoogleApiClientRevokeForm::getConfirmText()

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/GoogleApiClientRevokeForm.php, line 33

Class

GoogleApiClientRevokeForm
Provides a form for revoking a google_api_client entity.

Namespace

Drupal\google_api_client\Form

Code

public function getConfirmText() {
  return $this
    ->t("Revoke");
}