Skip to content

Commit e83f9a1

Browse files
committed
Merge branch 'develop' into staging
2 parents bdc8af6 + ff47507 commit e83f9a1

File tree

3 files changed

+90
-4
lines changed

3 files changed

+90
-4
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"drupal/core-composer-scaffold": "^9.0.0",
9494
"drupal/core-project-message": "^9.0.0",
9595
"drupal/core-recommended": "^9.1",
96+
"drupal/csv_importer": "^1.12",
9697
"drupal/editor_file": "^1.6",
9798
"drupal/entity_clone": "^1.0@beta",
9899
"drupal/fancy_file_delete": "^2.0",
@@ -211,6 +212,9 @@
211212
},
212213
"drupal/scheduler_content_moderation_integration" : {
213214
"Widget error when field is overridden - undefined offset 0 in $form['publish_state']" : "https://www.drupal.org/files/issues/2020-06-30/3077147-28.patch"
215+
},
216+
"drupal/csv_importer" : {
217+
"Custom patch to get anonymous subscription support on csv_import" : "./patches/anonymous_subscriptions_csv_import.patch"
214218
}
215219
}
216220
}

composer.lock

Lines changed: 64 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
diff --git a/src/Plugin/Importer/SubscriptionsImporter.php b/src/Plugin/Importer/SubscriptionsImporter.php
2+
new file mode 100644
3+
index 0000000..5283cd7
4+
--- /dev/null
5+
+++ b/src/Plugin/Importer/SubscriptionsImporter.php
6+
@@ -0,0 +1,16 @@
7+
+<?php
8+
+
9+
+namespace Drupal\csv_importer\Plugin\Importer;
10+
+
11+
+use Drupal\csv_importer\Plugin\ImporterBase;
12+
+
13+
+/**
14+
+ * Class SubscriptionsImporter.
15+
+ *
16+
+ * @Importer(
17+
+ * id = "anonymous_subscriptions_importer",
18+
+ * entity_type = "anonymous_subscription",
19+
+ * label = @Translation("Anonymous subscription importer")
20+
+ * )
21+
+ */
22+
+class SubscriptionsImporter extends ImporterBase {}

0 commit comments

Comments
 (0)