You are here

public function SynonymDeleteForm::getConfirmText in Synonyms 8

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

Code

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