public function AutocompletionConfigurationDeleteForm::getConfirmText in Search Autocomplete 8
Same name and namespace in other branches
- 2.x src/Form/AutocompletionConfigurationDeleteForm.php \Drupal\search_autocomplete\Form\AutocompletionConfigurationDeleteForm::getConfirmText()
Gather the confirmation text.
The confirm text is used as the text in the button that confirms the question posed by getQuestion().
Return value
string Translated string.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ AutocompletionConfigurationDeleteForm.php, line 50
Class
- AutocompletionConfigurationDeleteForm
- Class AutocompletionConfigurationDeleteForm.
Namespace
Drupal\search_autocomplete\FormCode
public function getConfirmText() {
return $this
->t('Delete this configuration');
}