You are here

public function ApiKeyDeleteConfirmForm::getDescription in Services API Key Authentication 8.2

Same name and namespace in other branches
  1. 3.0.x src/Form/ApiKeyDeleteConfirmForm.php \Drupal\services_api_key_auth\Form\ApiKeyDeleteConfirmForm::getDescription()
  2. 2.0.x src/Form/ApiKeyDeleteConfirmForm.php \Drupal\services_api_key_auth\Form\ApiKeyDeleteConfirmForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/ApiKeyDeleteConfirmForm.php, line 52

Class

ApiKeyDeleteConfirmForm
Defines a confirm form for deleting a server.

Namespace

Drupal\services_api_key_auth\Form

Code

public function getDescription() {
  return $this
    ->t('Deleting an api key for a user will prevent access for certain endpoints only.');
}