Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Feb 22, 2024
1 parent 0540da6 commit e743b46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Form/StanfordMigrateCsvImportForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit e743b46

Please sign in to comment.