Returns additional text to display as a description.
Return value
string
The form description.
File
- drupal/core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 42
- Contains \Drupal\Core\Form\ConfirmFormBase.
Class
- ConfirmFormBase
- Provides an generic base class for a confirmation form.
Namespace
Drupal\Core\Form
Code
protected function getDescription() {
return t('This action cannot be undone.');
}