You are here

public function GoogleApiClientRevokeForm::getQuestion in Google API PHP Client 8.2

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

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/GoogleApiClientRevokeForm.php, line 20

Class

GoogleApiClientRevokeForm
Provides a form for revoking a google_api_client entity.

Namespace

Drupal\google_api_client\Form

Code

public function getQuestion() {
  return 'Are you sure you want to revoke access token of this account';
}