You are here

public function AccessTokenResourceDeleteForm::getConfirmText in Simple OAuth (OAuth2) & OpenID Connect 8

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/Entity/Form/AccessTokenResourceDeleteForm.php, line 30

Class

AccessTokenResourceDeleteForm
Builds the form to delete Access Token Resource entities.

Namespace

Drupal\simple_oauth\Entity\Form

Code

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