You are here

public function DeleteMultiple::getConfirmText in Message UI 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 89

Class

DeleteMultiple
Provides a message deletion confirmation form.

Namespace

Drupal\message_ui\Form

Code

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