You are here

public function DeleteTermsConfirm::getConfirmText in Taxonomy Multi-delete Terms 8

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/DeleteTermsConfirm.php, line 69

Class

DeleteTermsConfirm
Defines a confirmation form for deleting term data.

Namespace

Drupal\taxonomy_multidelete_terms\Form

Code

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