You are here

public function AdminUninstallForm::getCancelText in Private Message 8

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

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormBase::getCancelText

File

src/Form/AdminUninstallForm.php, line 52

Class

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

Namespace

Drupal\private_message\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}