You are here

public function ConfigPagesClearConfirmationForm::getDescription in Config Pages 8

Same name and namespace in other branches
  1. 8.3 src/Form/ConfigPagesClearConfirmationForm.php \Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::getDescription()
  2. 8.2 src/Form/ConfigPagesClearConfirmationForm.php \Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

src/Form/ConfigPagesClearConfirmationForm.php, line 44

Class

ConfigPagesClearConfirmationForm
Action on clear ConfigPage submit form.

Namespace

Drupal\config_pages\Form

Code

public function getDescription() {
  return t('Only do this if you are sure!');
}