You are here

public function AdminUninstallForm::getConfirmText in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Form/AdminUninstallForm.php \Drupal\private_message\Form\AdminUninstallForm::getConfirmText()

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/AdminUninstallForm.php, line 45

Class

AdminUninstallForm
Definest he admin uninstall form for the Private Message module.

Namespace

Drupal\private_message\Form

Code

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