You are here

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

Returns a caption for the link which cancels the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.

Overrides ConfirmFormBase::getCancelText

File

src/Form/DeleteTermsConfirm.php, line 76

Class

DeleteTermsConfirm
Defines a confirmation form for deleting term data.

Namespace

Drupal\taxonomy_multidelete_terms\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}