You are here

public function DeleteMultiple::getConfirmText in Message 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/DeleteMultiple.php, line 78

Class

DeleteMultiple
Provides a message deletion confirmation form.

Namespace

Drupal\message\Form

Code

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