You are here

public function ConfirmFormInterface::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getDescription()
  2. 10 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getDescription()

Returns additional text to display as a description.

Return value

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

3 methods override ConfirmFormInterface::getDescription()
ConfirmFormBase::getDescription in core/lib/Drupal/Core/Form/ConfirmFormBase.php
Returns additional text to display as a description.
ContentEntityConfirmFormBase::getDescription in core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php
Returns additional text to display as a description.
EntityConfirmFormBase::getDescription in core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php
Returns additional text to display as a description.

File

core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 32

Class

ConfirmFormInterface
Defines the behavior a confirmation form.

Namespace

Drupal\Core\Form

Code

public function getDescription();