public function WebformConfigEntityDeleteFormBase::getConfirmText in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Form/WebformConfigEntityDeleteFormBase.php \Drupal\webform\Form\WebformConfigEntityDeleteFormBase::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityDeleteFormTrait::getConfirmText
1 call to WebformConfigEntityDeleteFormBase::getConfirmText()
- WebformConfigEntityDeleteFormBase::actions in src/
Form/ WebformConfigEntityDeleteFormBase.php - Returns an array of supported actions for the current entity form.
File
- src/
Form/ WebformConfigEntityDeleteFormBase.php, line 109
Class
- WebformConfigEntityDeleteFormBase
- Provides a generic base class for a webform entity deletion form.
Namespace
Drupal\webform\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}