You are here

public function OAuthDeleteConsumerForm::getConfirmText in OAuth 1.0 8.2

Same name and namespace in other branches
  1. 8 src/Form/OAuthDeleteConsumerForm.php \Drupal\oauth\Form\OAuthDeleteConsumerForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/OAuthDeleteConsumerForm.php, line 104
Contains \Drupal\oauth\Form\OAuthDeleteConsumerForm.

Class

OAuthDeleteConsumerForm
Provides an oauth_consumer deletion confirmation form.

Namespace

Drupal\oauth\Form

Code

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