function ModulesUninstallConfirmForm::getConfirmText

Same name in other branches
  1. 9 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getConfirmText()
  2. 8.9.x core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getConfirmText()
  3. 11.x core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getConfirmText()

Overrides ConfirmFormBase::getConfirmText

File

core/modules/system/src/Form/ModulesUninstallConfirmForm.php, line 115

Class

ModulesUninstallConfirmForm
Builds a confirmation form to uninstall selected modules.

Namespace

Drupal\system\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.