You are here

public function GoogleApiClientDeleteForm::getConfirmText in Google API PHP Client 8.4

Same name and namespace in other branches
  1. 8.2 src/Form/GoogleApiClientDeleteForm.php \Drupal\google_api_client\Form\GoogleApiClientDeleteForm::getConfirmText()
  2. 8.3 src/Form/GoogleApiClientDeleteForm.php \Drupal\google_api_client\Form\GoogleApiClientDeleteForm::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/GoogleApiClientDeleteForm.php, line 33

Class

GoogleApiClientDeleteForm
Provides a form for deleting a google_api_client entity.

Namespace

Drupal\google_api_client\Form

Code

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