You are here

public function LinkConfigurationStorageDeleteForm::getConfirmText in Menu Token 8

Same name and namespace in other branches
  1. 9.1.x src/Form/LinkConfigurationStorageDeleteForm.php \Drupal\menu_token\Form\LinkConfigurationStorageDeleteForm::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/LinkConfigurationStorageDeleteForm.php, line 31

Class

LinkConfigurationStorageDeleteForm
Builds the form to delete Link configuration storage entities.

Namespace

Drupal\menu_token\Form

Code

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