From e743b469beeb08b8b70a51d038f3d81bebdee2f4 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 21 Feb 2024 17:07:46 -0800 Subject: [PATCH] fixup --- src/Form/StanfordMigrateCsvImportForm.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Form/StanfordMigrateCsvImportForm.php b/src/Form/StanfordMigrateCsvImportForm.php index 7bd9108..4361c63 100644 --- a/src/Form/StanfordMigrateCsvImportForm.php +++ b/src/Form/StanfordMigrateCsvImportForm.php @@ -53,6 +53,8 @@ public static function create(ContainerInterface $container) { * Core state service. * @param \Drupal\file\FileUsage\FileUsageInterface $fileUsage * File module usage service. + * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager + * Entity type manager service. */ public function __construct(protected MigrationPluginManagerInterface $migrationManager, protected StateInterface $state, protected FileUsageInterface $fileUsage, EntityTypeManagerInterface $entityTypeManager) { $this->entityTypeManager = $entityTypeManager; @@ -281,6 +283,8 @@ protected function fixLineBreaks($csv_path) { * Complete form. * @param \Drupal\Core\Form\FormStateInterface $form_state * Submitted form state. + * + * @codeCoverageIgnore Not really possible to unit test this. */ public function import(array $form, FormStateInterface $form_state) { // Invalidate the migration cache since the file is changing.