public function ConfirmFormInterface::getDescription in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getDescription()
- 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\FormCode
public function getDescription();