function ConfirmFormBase::getCancelText
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getCancelText()
1 method overrides 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.
File
-
core/
lib/ Drupal/ Core/ Form/ ConfirmFormBase.php, line 27
Class
- ConfirmFormBase
- Provides a generic base class for a confirmation form.
Namespace
Drupal\Core\FormCode
public function getCancelText() {
return $this->t('Cancel');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.