You are here

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

Same name and namespace in other branches
  1. 8.3 src/Form/GoogleApiServiceClientDeleteForm.php \Drupal\google_api_client\Form\GoogleApiServiceClientDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/GoogleApiServiceClientDeleteForm.php, line 33

Class

GoogleApiServiceClientDeleteForm
Provides a form for deleting a google_api_service_client entity.

Namespace

Drupal\google_api_client\Form

Code

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