Skip to content

Commit 40f23eb

Browse files
authored
Merge pull request #19 from nigelgbanks/fixes-for-drupal-9
Fix for missing entity configuration in Drupal 9
2 parents bfaf078 + 25892c8 commit 40f23eb

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/Entity/EmbargoesEmbargoEntity.php

+14
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@
3030
* "label" = "label",
3131
* "uuid" = "uuid"
3232
* },
33+
* config_export = {
34+
* "id" = "id",
35+
* "label" = "label",
36+
* "uuid" = "uuid",
37+
* "embargo_type" = "embargo_type",
38+
* "expiration_type" = "expiration_type",
39+
* "expiration_date" = "expiration_date",
40+
* "exempt_ips" = "exempt_ips",
41+
* "exempt_users" = "exempt_users",
42+
* "additional_emails" = "additional_emails",
43+
* "notification_status" = "notification_status",
44+
* "embargoed_node" = "embargoed_node",
45+
* "notification_status" = "notification_status",
46+
* },
3347
* links = {
3448
* "canonical" = "/admin/config/content/embargoes/settings/embargoes/{embargoes_embargo_entity}",
3549
* "add-form" = "/admin/config/content/embargoes/settings/embargoes/add",

src/Entity/EmbargoesIpRangeEntity.php

+7
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
* "label" = "label",
3030
* "uuid" = "uuid"
3131
* },
32+
* config_export = {
33+
* "id" = "id",
34+
* "label" = "label",
35+
* "uuid" = "uuid",
36+
* "ranges" = "ranges",
37+
* "proxy_url" = "proxy_url",
38+
* },
3239
* links = {
3340
* "canonical" = "/admin/config/content/embargoes/settings/ips/{embargoes_ip_range_entity}",
3441
* "add-form" = "/admin/config/content/embargoes/settings/ips/add",

0 commit comments

Comments
 (0)