public function ConfirmFormBase::getCancelText in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getCancelText()
Returns a caption for the link which cancels the action.
Return value
string The form cancellation text.
Overrides ConfirmFormInterface::getCancelText
2 methods override ConfirmFormBase::getCancelText()
- ConfirmFormTestForm::getCancelText in core/
modules/ system/ tests/ modules/ form_test/ src/ ConfirmFormTestForm.php - Returns a caption for the link which cancels the action.
- ReindexConfirm::getCancelText in core/
modules/ search/ src/ Form/ ReindexConfirm.php - Returns a caption for the link which cancels the action.
File
- core/
lib/ Drupal/ Core/ Form/ ConfirmFormBase.php, line 32 - Contains \Drupal\Core\Form\ConfirmFormBase.
Class
- ConfirmFormBase
- Provides an generic base class for a confirmation form.
Namespace
Drupal\Core\FormCode
public function getCancelText() {
return $this
->t('Cancel');
}