You are here

public function ClientDeleteConfirmForm::getConfirmText in OAuth2 Server 8

Same name and namespace in other branches
  1. 2.0.x src/Form/ClientDeleteConfirmForm.php \Drupal\oauth2_server\Form\ClientDeleteConfirmForm::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/ClientDeleteConfirmForm.php, line 40

Class

ClientDeleteConfirmForm
Class Client Delete Confirm Form.

Namespace

Drupal\oauth2_server\Form

Code

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