protected function SetDelete::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/SetDelete.php, line 86
Contains \Drupal\shortcut\Form\SetDelete.

Class

SetDelete
Builds the shortcut set deletion form.

Namespace

Drupal\shortcut\Form

Code

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