public function AbjsTestDeleteConfirmForm::getConfirmText in A/B Test JS 8
Same name and namespace in other branches
- 2.0.x src/Form/AbjsTestDeleteConfirmForm.php \Drupal\abjs\Form\AbjsTestDeleteConfirmForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ AbjsTestDeleteConfirmForm.php, line 79
Class
- AbjsTestDeleteConfirmForm
- Class for confirm delete test.
Namespace
Drupal\abjs\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}