function ConfirmFormInterface::getDescription

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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();

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