You are here

public function MiconDeleteForm::getConfirmText in Micon 2.x

Same name and namespace in other branches
  1. 8 src/Form/MiconDeleteForm.php \Drupal\micon\Form\MiconDeleteForm::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/MiconDeleteForm.php, line 31

Class

MiconDeleteForm
Builds the form to delete Micon entities.

Namespace

Drupal\micon\Form

Code

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