You are here

public function CustomFilterRulesDeleteForm::getConfirmText in Custom filter 8

Same name and namespace in other branches
  1. 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\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}