diff --git a/core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php b/core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php index 0601bc4..1b82ea7 100644 --- a/core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php +++ b/core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php @@ -188,7 +188,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) { public static function deleteContentEntities($entity_type_id, $limit, &$context) { $storage = \Drupal::entityTypeManager()->getStorage($entity_type_id); - // Set the entity type ID in the results array so we can acess it in the + // Set the entity type ID in the results array so we can access it in the // batch finished callback. $context['results']['entity_type_id'] = $entity_type_id; @@ -207,8 +207,8 @@ public static function deleteContentEntities($entity_type_id, $limit, &$context) } $context['sandbox']['progress'] += count($entity_ids); - // Inform the batch engine that we are not finished, - // and provide an estimation of the completion level we reached. + // Inform the batch engine that we are not finished and provide an + // estimation of the completion level we reached. if ($context['sandbox']['progress'] != $context['sandbox']['max']) { $context['finished'] = $context['sandbox']['progress'] / $context['sandbox']['max']; $context['message'] = t('Deleting items... Completed @percentage% (@current of @total).', ['@percentage' => round(100 * $context['sandbox']['progress'] / $context['sandbox']['max']), '@current' => $context['sandbox']['progress'], '@total' => $context['sandbox']['max']]);