You are here

public function OpenIDConnectClientDeleteForm::getConfirmText in OpenID Connect / OAuth client 2.x

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/OpenIDConnectClientDeleteForm.php, line 26

Class

OpenIDConnectClientDeleteForm
Provides a confirm form for deleting the OpenID Connect client entity.

Namespace

Drupal\openid_connect\Form

Code

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