You are here

public function ConfirmFormBase::getDescription in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getDescription()

Returns additional text to display as a description.

Return value

string The form description.

Overrides ConfirmFormInterface::getDescription

1 call to ConfirmFormBase::getDescription()
ConfirmFormBase::buildForm in core/lib/Drupal/Core/Form/ConfirmFormBase.php
Form constructor.
8 methods override ConfirmFormBase::getDescription()
BookRemoveForm::getDescription in core/modules/book/src/Form/BookRemoveForm.php
Returns additional text to display as a description.
ConfirmFormTestForm::getDescription in core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php
Returns additional text to display as a description.
MenuLinkResetForm::getDescription in core/modules/menu_ui/src/Form/MenuLinkResetForm.php
Returns additional text to display as a description.
ModulesListConfirmForm::getDescription in core/modules/system/src/Form/ModulesListConfirmForm.php
Returns additional text to display as a description.
ModulesUninstallConfirmForm::getDescription in core/modules/system/src/Form/ModulesUninstallConfirmForm.php
Returns additional text to display as a description.

... See full list

File

core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 18
Contains \Drupal\Core\Form\ConfirmFormBase.

Class

ConfirmFormBase
Provides an generic base class for a confirmation form.

Namespace

Drupal\Core\Form

Code

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