You are here

public function ModulesUninstallConfirmForm::getConfirmText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/system/src/Form/ModulesUninstallConfirmForm.php, line 102
Contains \Drupal\system\Form\ModulesUninstallConfirmForm.

Class

ModulesUninstallConfirmForm
Builds a confirmation form to uninstall selected modules.

Namespace

Drupal\system\Form

Code

public function getConfirmText() {
  return $this
    ->t('Uninstall');
}