function ConfirmFormInterface::getConfirmText
Same name in other branches
- 9 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getConfirmText()
- 8.9.x core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getConfirmText()
- 10 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
3 methods override ConfirmFormInterface::getConfirmText()
- ConfirmFormBase::getConfirmText in core/
lib/ Drupal/ Core/ Form/ ConfirmFormBase.php - Returns a caption for the button that confirms the action.
- ContentEntityConfirmFormBase::getConfirmText in core/
lib/ Drupal/ Core/ Entity/ ContentEntityConfirmFormBase.php - Returns a caption for the button that confirms the action.
- EntityConfirmFormBase::getConfirmText in core/
lib/ Drupal/ Core/ Entity/ EntityConfirmFormBase.php - Returns a caption for the button that confirms the action.
File
-
core/
lib/ Drupal/ Core/ Form/ ConfirmFormInterface.php, line 40
Class
- ConfirmFormInterface
- Defines the behavior a confirmation form.
Namespace
Drupal\Core\FormCode
public function getConfirmText();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.