You are here

public function OAuthDeleteConsumerForm::getDescription in OAuth 1.0 8

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

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

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

Class

OAuthDeleteConsumerForm
Provides an oauth_consumer deletion confirmation form.

Namespace

Drupal\oauth\Form

Code

public function getDescription() {
  return $this
    ->t('This action cannot be undone.');
}