public function CustomFilterDeleteForm::getConfirmText in Custom filter 2.0.x
Same name and namespace in other branches
- 8 src/Form/CustomFilterDeleteForm.php \Drupal\customfilter\Form\CustomFilterDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ CustomFilterDeleteForm.php, line 84
Class
- CustomFilterDeleteForm
- Builds the form to delete a Custom Filter.
Namespace
Drupal\customfilter\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}