protected function LinkDelete::getConfirmText

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

drupal/core/modules/shortcut/lib/Drupal/shortcut/Form/LinkDelete.php, line 49
Contains \Drupal\shortcut\Form\LinkDelete.

Class

LinkDelete
Builds the shortcut link deletion form.

Namespace

Drupal\shortcut\Form

Code

protected function getConfirmText() {
  return t('Delete');
}