You are here

public function CurrencyDeleteForm::getConfirmText in Currency 8.3

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/Entity/Currency/CurrencyDeleteForm.php, line 47

Class

CurrencyDeleteForm
Provides the currency deletion form.

Namespace

Drupal\currency\Entity\Currency

Code

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