public function WebformConfigEntityDeleteFormBase::getCancelText in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Form/WebformConfigEntityDeleteFormBase.php \Drupal\webform\Form\WebformConfigEntityDeleteFormBase::getCancelText()
Returns a caption for the link which cancels the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.
Overrides ConfirmFormInterface::getCancelText
File
- src/
Form/ WebformConfigEntityDeleteFormBase.php, line 116
Class
- WebformConfigEntityDeleteFormBase
- Provides a generic base class for a webform entity deletion form.
Namespace
Drupal\webform\FormCode
public function getCancelText() {
return $this
->t('Cancel');
}