You are here

public function ServerDisableConfirmForm::getDescription in OAuth2 Server 8

Same name and namespace in other branches
  1. 2.0.x src/Form/ServerDisableConfirmForm.php \Drupal\oauth2_server\Form\ServerDisableConfirmForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides EntityConfirmFormBase::getDescription

File

src/Form/ServerDisableConfirmForm.php, line 26

Class

ServerDisableConfirmForm
Class Server Disable Confirm Form.

Namespace

Drupal\oauth2_server\Form

Code

public function getDescription() {
  return $this
    ->t('Disabling a server will also disable all attached scopes and clients. This action cannot be undone.');
}