You are here

public function ConfirmFormInterface::getDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getDescription()
  2. 9 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.

2 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.

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();