public function SynonymDeleteForm::getConfirmText in Synonyms 2.0.x
Same name and namespace in other branches
- 8 src/Form/SynonymDeleteForm.php \Drupal\synonyms\Form\SynonymDeleteForm::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/ SynonymDeleteForm.php, line 31
Class
- SynonymDeleteForm
- Delete form for synonym config entity.
Namespace
Drupal\synonyms\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}