function ConfirmFormBase::getDescription

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getDescription()
  2. 8.9.x core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getDescription()
  3. 11.x core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getDescription()

Overrides ConfirmFormInterface::getDescription

1 call to ConfirmFormBase::getDescription()
ConfirmFormBase::buildForm in core/lib/Drupal/Core/Form/ConfirmFormBase.php
17 methods override ConfirmFormBase::getDescription()
BookRemoveForm::getDescription in core/modules/book/src/Form/BookRemoveForm.php
ConfirmFormTestForm::getDescription in core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php
LayoutBuilderDisableForm::getDescription in core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php
MenuLinkResetForm::getDescription in core/modules/menu_ui/src/Form/MenuLinkResetForm.php
ModulesListConfirmForm::getDescription in core/modules/system/src/Form/ModulesListConfirmForm.php

... See full list

File

core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 13

Class

ConfirmFormBase
Provides a generic base class for a confirmation form.

Namespace

Drupal\Core\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.