You are here

public function ScopeDeleteConfirmForm::getConfirmText in OAuth2 Server 2.0.x

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

Class

ScopeDeleteConfirmForm
Class Scope Delete Confirm Form.

Namespace

Drupal\oauth2_server\Form

Code

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