You are here

public function EntityConfirmFormBase::getDescription in Zircon Profile 8

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

Returns additional text to display as a description.

Return value

string The form description.

Overrides ConfirmFormInterface::getDescription

1 call to EntityConfirmFormBase::getDescription()
EntityConfirmFormBase::buildForm in core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php
Form constructor.
9 methods override EntityConfirmFormBase::getDescription()
BreakLockForm::getDescription in core/modules/views_ui/src/Form/BreakLockForm.php
Returns additional text to display as a description.
EntityDisplayModeDeleteForm::getDescription in core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php
Returns additional text to display as a description.
FilterDisableForm::getDescription in core/modules/filter/src/Form/FilterDisableForm.php
Returns additional text to display as a description.
ImageStyleDeleteForm::getDescription in core/modules/image/src/Form/ImageStyleDeleteForm.php
Returns additional text to display as a description.
ImageStyleFlushForm::getDescription in core/modules/image/src/Form/ImageStyleFlushForm.php
Returns additional text to display as a description.

... See full list

File

core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php, line 31
Contains \Drupal\Core\Entity\EntityConfirmFormBase.

Class

EntityConfirmFormBase
Provides a generic base class for an entity-based confirmation form.

Namespace

Drupal\Core\Entity

Code

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