function PrepareModulesEntityUninstallForm::getConfirmText
Overrides ConfirmFormBase::getConfirmText
File
-
core/
modules/ system/ src/ Form/ PrepareModulesEntityUninstallForm.php, line 81
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.