function PrepareModulesEntityUninstallForm::getConfirmText
Same name in other branches
- 9 core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php \Drupal\system\Form\PrepareModulesEntityUninstallForm::getConfirmText()
- 8.9.x core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php \Drupal\system\Form\PrepareModulesEntityUninstallForm::getConfirmText()
- 10 core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php \Drupal\system\Form\PrepareModulesEntityUninstallForm::getConfirmText()
Overrides ConfirmFormBase::getConfirmText
File
-
core/
modules/ system/ src/ Form/ PrepareModulesEntityUninstallForm.php, line 83
Class
- PrepareModulesEntityUninstallForm
- Provides a form removing module content entities data before uninstallation.
Namespace
Drupal\system\FormCode
public function getConfirmText() {
$entity_type = $this->entityTypeManager
->getDefinition($this->entityTypeId);
return $this->t('Delete all @entity_type_plural', [
'@entity_type_plural' => $entity_type->getPluralLabel(),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.