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