public function CustomFilterRulesDeleteForm::getConfirmText in Custom filter 8
Same name and namespace in other branches
- 2.0.x src/Form/CustomFilterRulesDeleteForm.php \Drupal\customfilter\Form\CustomFilterRulesDeleteForm::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/ CustomFilterRulesDeleteForm.php, line 59
Class
- CustomFilterRulesDeleteForm
- Builds the form to delete a Custom Filter.
Namespace
Drupal\customfilter\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}