function ConfirmFormInterface::getDescription

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getDescription()
  2. 8.9.x core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getDescription()
  3. 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
ContentEntityConfirmFormBase::getDescription in core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php
EntityConfirmFormBase::getDescription in core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php

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.