You are here

public function ServerDisableConfirmForm::getConfirmText in OAuth2 Server 8

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

Class

ServerDisableConfirmForm
Class Server Disable Confirm Form.

Namespace

Drupal\oauth2_server\Form

Code

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