diff --git a/web/modules/custom/drutopia_creative_license/config/install/field.storage.node.field_license.yml b/web/modules/custom/drutopia_creative_license/config/install/field.storage.node.field_license.yml new file mode 100644 index 0000000..a062d3d --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/field.storage.node.field_license.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_license +field_name: field_license +entity_type: node +type: entity_reference +settings: + target_type: taxonomy_term +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/web/modules/custom/drutopia_creative_license/config/install/taxonomy.vocabulary.license.yml b/web/modules/custom/drutopia_creative_license/config/install/taxonomy.vocabulary.license.yml new file mode 100644 index 0000000..735aafc --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/taxonomy.vocabulary.license.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: License +vid: license +description: '' +hierarchy: 0 +weight: 0 diff --git a/web/modules/custom/drutopia_creative_license/content/taxonomy_term/021d9e4a-3329-454c-8d40-62091477a5ce.json b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/021d9e4a-3329-454c-8d40-62091477a5ce.json new file mode 100644 index 0000000..8880402 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/021d9e4a-3329-454c-8d40-62091477a5ce.json @@ -0,0 +1,72 @@ +{ + "_links": { + "self": { + "href": "http:\/\/default\/taxonomy\/term\/22?_format=hal_json" + }, + "type": { + "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" + } + }, + "tid": [ + { + "value": 22 + } + ], + "uuid": [ + { + "value": "021d9e4a-3329-454c-8d40-62091477a5ce" + } + ], + "langcode": [ + { + "value": "en", + "lang": "en" + } + ], + "vid": [ + { + "target_id": "license" + } + ], + "name": [ + { + "value": "Attribution - NonCommercial - No Derivatives", + "lang": "en" + } + ], + "description": [ + { + "value": "\"Creative<\/a>
This work is licensed under a
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License<\/a>.", + "format": "basic_html", + "processed": "\"Image<\/a>
This work is licensed under a
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License<\/a>.", + "lang": "en" + } + ], + "weight": [ + { + "value": 0 + } + ], + "changed": [ + { + "value": "2018-09-30T08:58:19+00:00", + "lang": "en", + "format": "Y-m-d\\TH:i:sP" + } + ], + "default_langcode": [ + { + "value": true, + "lang": "en" + } + ], + "metatag": [ + { + "value": { + "title": "Attribution - NonCommercial - No Derivatives | Drutopia", + "canonical_url": "http:\/\/default\/taxonomy\/term\/22", + "description": "This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License." + } + } + ] +} diff --git a/web/modules/custom/drutopia_creative_license/content/taxonomy_term/2975546c-cf24-43ad-abe6-ed1bcef9c102.json b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/2975546c-cf24-43ad-abe6-ed1bcef9c102.json new file mode 100644 index 0000000..94134ef --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/2975546c-cf24-43ad-abe6-ed1bcef9c102.json @@ -0,0 +1,72 @@ +{ + "_links": { + "self": { + "href": "http:\/\/default\/taxonomy\/term\/21?_format=hal_json" + }, + "type": { + "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" + } + }, + "tid": [ + { + "value": 21 + } + ], + "uuid": [ + { + "value": "2975546c-cf24-43ad-abe6-ed1bcef9c102" + } + ], + "langcode": [ + { + "value": "en", + "lang": "en" + } + ], + "vid": [ + { + "target_id": "license" + } + ], + "name": [ + { + "value": "Attribution - NonCommercial - ShareAlike", + "lang": "en" + } + ], + "description": [ + { + "value": "\"Creative<\/a>
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License<\/a>.", + "format": "basic_html", + "processed": "\"Image<\/a>
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License<\/a>.", + "lang": "en" + } + ], + "weight": [ + { + "value": 0 + } + ], + "changed": [ + { + "value": "2018-09-30T08:57:33+00:00", + "lang": "en", + "format": "Y-m-d\\TH:i:sP" + } + ], + "default_langcode": [ + { + "value": true, + "lang": "en" + } + ], + "metatag": [ + { + "value": { + "title": "Attribution - NonCommercial - ShareAlike | Drutopia", + "canonical_url": "http:\/\/default\/taxonomy\/term\/21", + "description": "This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License." + } + } + ] +} diff --git a/web/modules/custom/drutopia_creative_license/content/taxonomy_term/5e26d946-6bec-4225-bcb9-0ac6f7671109.json b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/5e26d946-6bec-4225-bcb9-0ac6f7671109.json new file mode 100644 index 0000000..06c9d4d --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/5e26d946-6bec-4225-bcb9-0ac6f7671109.json @@ -0,0 +1,72 @@ +{ + "_links": { + "self": { + "href": "http:\/\/default\/taxonomy\/term\/23?_format=hal_json" + }, + "type": { + "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" + } + }, + "tid": [ + { + "value": 23 + } + ], + "uuid": [ + { + "value": "5e26d946-6bec-4225-bcb9-0ac6f7671109" + } + ], + "langcode": [ + { + "value": "en", + "lang": "en" + } + ], + "vid": [ + { + "target_id": "license" + } + ], + "name": [ + { + "value": "Copyright", + "lang": "en" + } + ], + "description": [ + { + "value": "

\u00a9 This work is copyrighted. Contact the author if you would like to share or repurpose it.<\/p>\r\n", + "format": "basic_html", + "processed": "

\u00a9 This work is copyrighted. Contact the author if you would like to share or repurpose it.<\/p>", + "lang": "en" + } + ], + "weight": [ + { + "value": 0 + } + ], + "changed": [ + { + "value": "2018-10-02T18:07:50+00:00", + "lang": "en", + "format": "Y-m-d\\TH:i:sP" + } + ], + "default_langcode": [ + { + "value": true, + "lang": "en" + } + ], + "metatag": [ + { + "value": { + "title": "Copyright | Drutopia", + "canonical_url": "http:\/\/default\/taxonomy\/term\/23", + "description": "\u00a9 This work is copyrighted. Contact the author if you would like to share or repurpose it." + } + } + ] +} diff --git a/web/modules/custom/drutopia_creative_license/content/taxonomy_term/61745acc-d11c-4e65-bd9e-518d223fedab.json b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/61745acc-d11c-4e65-bd9e-518d223fedab.json new file mode 100644 index 0000000..6f9b701 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/61745acc-d11c-4e65-bd9e-518d223fedab.json @@ -0,0 +1,72 @@ +{ + "_links": { + "self": { + "href": "http:\/\/default\/taxonomy\/term\/17?_format=hal_json" + }, + "type": { + "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" + } + }, + "tid": [ + { + "value": 17 + } + ], + "uuid": [ + { + "value": "61745acc-d11c-4e65-bd9e-518d223fedab" + } + ], + "langcode": [ + { + "value": "en", + "lang": "en" + } + ], + "vid": [ + { + "target_id": "license" + } + ], + "name": [ + { + "value": "Attribution", + "lang": "en" + } + ], + "description": [ + { + "value": "\"Creative<\/a>
This work is licensed under a
Creative Commons Attribution 4.0 International License<\/a>.\r\n", + "format": "basic_html", + "processed": "\"Image<\/a>
This work is licensed under a
Creative Commons Attribution 4.0 International License<\/a>.", + "lang": "en" + } + ], + "weight": [ + { + "value": 0 + } + ], + "changed": [ + { + "value": "2018-09-30T08:54:46+00:00", + "lang": "en", + "format": "Y-m-d\\TH:i:sP" + } + ], + "default_langcode": [ + { + "value": true, + "lang": "en" + } + ], + "metatag": [ + { + "value": { + "title": "Attribution | Drutopia", + "canonical_url": "http:\/\/default\/taxonomy\/term\/17", + "description": "This work is licensed under a Creative Commons Attribution 4.0 International License." + } + } + ] +} diff --git a/web/modules/custom/drutopia_creative_license/content/taxonomy_term/6d4d3c5b-a093-43c2-9e7e-505012ff2961.json b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/6d4d3c5b-a093-43c2-9e7e-505012ff2961.json new file mode 100644 index 0000000..6c78f8a --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/6d4d3c5b-a093-43c2-9e7e-505012ff2961.json @@ -0,0 +1,72 @@ +{ + "_links": { + "self": { + "href": "http:\/\/default\/taxonomy\/term\/19?_format=hal_json" + }, + "type": { + "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" + } + }, + "tid": [ + { + "value": 19 + } + ], + "uuid": [ + { + "value": "6d4d3c5b-a093-43c2-9e7e-505012ff2961" + } + ], + "langcode": [ + { + "value": "en", + "lang": "en" + } + ], + "vid": [ + { + "target_id": "license" + } + ], + "name": [ + { + "value": "Attribution - No Derivatives", + "lang": "en" + } + ], + "description": [ + { + "value": "\"Creative<\/a>
This work is licensed under a
Creative Commons Attribution-NoDerivatives 4.0 International License<\/a>.", + "format": "basic_html", + "processed": "\"Image<\/a>
This work is licensed under a
Creative Commons Attribution-NoDerivatives 4.0 International License<\/a>.", + "lang": "en" + } + ], + "weight": [ + { + "value": 0 + } + ], + "changed": [ + { + "value": "2018-09-30T08:56:18+00:00", + "lang": "en", + "format": "Y-m-d\\TH:i:sP" + } + ], + "default_langcode": [ + { + "value": true, + "lang": "en" + } + ], + "metatag": [ + { + "value": { + "title": "Attribution - No Derivatives | Drutopia", + "canonical_url": "http:\/\/default\/taxonomy\/term\/19", + "description": "This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License." + } + } + ] +} diff --git a/web/modules/custom/drutopia_creative_license/content/taxonomy_term/bc49ae93-6d24-499d-b7f9-0d08b7586f10.json b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/bc49ae93-6d24-499d-b7f9-0d08b7586f10.json new file mode 100644 index 0000000..45a6f57 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/bc49ae93-6d24-499d-b7f9-0d08b7586f10.json @@ -0,0 +1,72 @@ +{ + "_links": { + "self": { + "href": "http:\/\/default\/taxonomy\/term\/18?_format=hal_json" + }, + "type": { + "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" + } + }, + "tid": [ + { + "value": 18 + } + ], + "uuid": [ + { + "value": "bc49ae93-6d24-499d-b7f9-0d08b7586f10" + } + ], + "langcode": [ + { + "value": "en", + "lang": "en" + } + ], + "vid": [ + { + "target_id": "license" + } + ], + "name": [ + { + "value": "Attribution-ShareAlike", + "lang": "en" + } + ], + "description": [ + { + "value": "\"Creative<\/a>
This work is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License<\/a>.", + "format": "basic_html", + "processed": "\"Image<\/a>
This work is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License<\/a>.", + "lang": "en" + } + ], + "weight": [ + { + "value": 0 + } + ], + "changed": [ + { + "value": "2018-09-30T08:55:26+00:00", + "lang": "en", + "format": "Y-m-d\\TH:i:sP" + } + ], + "default_langcode": [ + { + "value": true, + "lang": "en" + } + ], + "metatag": [ + { + "value": { + "title": "Attribution-ShareAlike | Drutopia", + "canonical_url": "http:\/\/default\/taxonomy\/term\/18", + "description": "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License." + } + } + ] +} diff --git a/web/modules/custom/drutopia_creative_license/content/taxonomy_term/f1dee100-31b9-4993-a2a9-0ba10c9f6f2e.json b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/f1dee100-31b9-4993-a2a9-0ba10c9f6f2e.json new file mode 100644 index 0000000..87a8ce8 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/content/taxonomy_term/f1dee100-31b9-4993-a2a9-0ba10c9f6f2e.json @@ -0,0 +1,72 @@ +{ + "_links": { + "self": { + "href": "http:\/\/default\/taxonomy\/term\/20?_format=hal_json" + }, + "type": { + "href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/license" + } + }, + "tid": [ + { + "value": 20 + } + ], + "uuid": [ + { + "value": "f1dee100-31b9-4993-a2a9-0ba10c9f6f2e" + } + ], + "langcode": [ + { + "value": "en", + "lang": "en" + } + ], + "vid": [ + { + "target_id": "license" + } + ], + "name": [ + { + "value": "Attribution - NonCommercial", + "lang": "en" + } + ], + "description": [ + { + "value": "\"Creative<\/a>
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License<\/a>.", + "format": "basic_html", + "processed": "\"Image<\/a>
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License<\/a>.", + "lang": "en" + } + ], + "weight": [ + { + "value": 0 + } + ], + "changed": [ + { + "value": "2018-09-30T08:56:53+00:00", + "lang": "en", + "format": "Y-m-d\\TH:i:sP" + } + ], + "default_langcode": [ + { + "value": true, + "lang": "en" + } + ], + "metatag": [ + { + "value": { + "title": "Attribution - NonCommercial | Drutopia", + "canonical_url": "http:\/\/default\/taxonomy\/term\/20", + "description": "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." + } + } + ] +} diff --git a/web/modules/custom/drutopia_creative_license/drutopia_creative_license.features.yml b/web/modules/custom/drutopia_creative_license/drutopia_creative_license.features.yml new file mode 100644 index 0000000..ba9aabc --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/drutopia_creative_license.features.yml @@ -0,0 +1,2 @@ +bundle: drutopia +required: true diff --git a/web/modules/custom/drutopia_creative_license/drutopia_creative_license.info.yml b/web/modules/custom/drutopia_creative_license/drutopia_creative_license.info.yml new file mode 100644 index 0000000..5449718 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/drutopia_creative_license.info.yml @@ -0,0 +1,12 @@ +name: 'Creative License' +type: module +core: 8.x +package: Drutopia +dependencies: + - config_actions + - drutopia_core + - field + - field_group + - node + - taxonomy +version: 8.x-1.0-alpha1