From 7f312608204116e5017afd2a077b3fb52e20ab36 Mon Sep 17 00:00:00 2001 From: naomi Date: Sat, 11 Sep 2021 19:57:08 +0100 Subject: [PATCH] Added content_as_config module and taxonomy term config file --- composer.json | 1 + composer.lock | 64 +++- config/content_as_config.taxonomy_term.yml | 416 +++++++++++++++++++++ config/core.extension.yml | 1 + 4 files changed, 481 insertions(+), 1 deletion(-) create mode 100644 config/content_as_config.taxonomy_term.yml diff --git a/composer.json b/composer.json index ee55634..a9d8180 100644 --- a/composer.json +++ b/composer.json @@ -26,6 +26,7 @@ "autonomic/goodnightout_opencase": "dev-master", "autonomic/opencase": "dev-master", "composer/installers": "^1.2", + "drupal/content_as_config": "^1.0", "drupal/core-composer-scaffold": "^8.9.17", "drupal/core-project-message": "^8.9.17", "drupal/core-recommended": "^8.9.17", diff --git a/composer.lock b/composer.lock index be81b85..841c295 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "43ec7a793230f23f60b012dd15388fc6", + "content-hash": "01bd6cb691430edc85e4193c92c59497", "packages": [ { "name": "asm89/stack-cors", @@ -1716,6 +1716,68 @@ "issues": "https://www.drupal.org/project/issues/admin_toolbar" } }, + { + "name": "drupal/content_as_config", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/content_as_config.git", + "reference": "1.0.2" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/content_as_config-1.0.2.zip", + "reference": "1.0.2", + "shasum": "dee7517e2e9ed3bee15da19adc2fdb78ce63e234" + }, + "require": { + "drupal/core": "^8.8 || ^9.0", + "php": "^7.4" + }, + "conflict": { + "drupal/structure_sync": "*" + }, + "require-dev": { + "drush/drush": "^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "1.0.2", + "datestamp": "1620313628", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Daniel Johnson (daniel_j)", + "homepage": "https://www.drupal.org/u/daniel_j", + "role": "Maintainer" + } + ], + "description": "Allows content entities to be exported/imported as configuration.", + "homepage": "https://drupal.org/project/content_as_config", + "keywords": [ + "Configuration", + "Drupal" + ], + "support": { + "source": "https://git.drupalcode.org/project/content_as_config", + "issues": "https://www.drupal.org/project/issues/content_as_config" + } + }, { "name": "drupal/core", "version": "8.9.18", diff --git a/config/content_as_config.taxonomy_term.yml b/config/content_as_config.taxonomy_term.yml new file mode 100644 index 0000000..4da5009 --- /dev/null +++ b/config/content_as_config.taxonomy_term.yml @@ -0,0 +1,416 @@ +3643c3b9-b688-4d8d-9665-c0e0b15b5749: + uuid: 3643c3b9-b688-4d8d-9665-c0e0b15b5749 + tid: '3' + vid: client_types + name: 'Licensed Premises' + langcode: en + description: '' + weight: '0' + parent: '0' +046c6995-d38b-4683-a37a-52ef472bd750: + uuid: 046c6995-d38b-4683-a37a-52ef472bd750 + tid: '4' + vid: client_types + name: 'Nightlife Organisation' + langcode: en + description: '' + weight: '0' + parent: '0' +1f6b268b-0ddb-4d85-a80c-3abbc54ba116: + uuid: 1f6b268b-0ddb-4d85-a80c-3abbc54ba116 + tid: '5' + vid: client_subtypes + name: 'Live Music Venue' + langcode: en + description: '' + weight: '2' + parent: '0' + fields: + field_parent_type: + - + target_id: '3' +484e3265-cca6-473f-9325-eb6bc1c53288: + uuid: 484e3265-cca6-473f-9325-eb6bc1c53288 + tid: '6' + vid: client_subtypes + name: Nightclub + langcode: en + description: '' + weight: '1' + parent: '0' + fields: + field_parent_type: + - + target_id: '3' +f44372cb-9a30-4a77-bf6d-9a1e96e257ab: + uuid: f44372cb-9a30-4a77-bf6d-9a1e96e257ab + tid: '7' + vid: client_subtypes + name: 'Pub or Bar' + langcode: en + description: '' + weight: '0' + parent: '0' + fields: + field_parent_type: + - + target_id: '3' +4c31ca9d-a328-45f1-be68-9d50b5703799: + uuid: 4c31ca9d-a328-45f1-be68-9d50b5703799 + tid: '8' + vid: client_subtypes + name: 'Students’ Union' + langcode: en + description: '' + weight: '6' + parent: '0' + fields: + field_parent_type: + - + target_id: '3' +c3445507-4acc-4be9-a2b6-2b368a26b3bd: + uuid: c3445507-4acc-4be9-a2b6-2b368a26b3bd + tid: '9' + vid: client_subtypes + name: Festival + langcode: en + description: '' + weight: '4' + parent: '0' + fields: + field_parent_type: + - + target_id: '4' +36e55848-07dc-475d-8567-e4574e6e1985: + uuid: 36e55848-07dc-475d-8567-e4574e6e1985 + tid: '10' + vid: client_subtypes + name: 'Event Organiser/ Promoter' + langcode: en + description: '' + weight: '7' + parent: '0' + fields: + field_parent_type: + - + target_id: '4' +190a822d-548b-42aa-82cc-5b07e40e2098: + uuid: 190a822d-548b-42aa-82cc-5b07e40e2098 + tid: '11' + vid: client_subtypes + name: 'Staffing Agency' + langcode: en + description: '' + weight: '5' + parent: '0' + fields: + field_parent_type: + - + target_id: '4' +f0620005-1df1-460c-8881-d63366c19a36: + uuid: f0620005-1df1-460c-8881-d63366c19a36 + tid: '12' + vid: client_subtypes + name: 'Other Organisation' + langcode: en + description: '' + weight: '8' + parent: '0' + fields: + field_parent_type: + - + target_id: '4' +10f0b83c-158e-4d99-9937-8fe3760fd7c9: + uuid: 10f0b83c-158e-4d99-9937-8fe3760fd7c9 + tid: '13' + vid: client_status + name: Lead + langcode: en + description: '' + weight: '0' + parent: '0' + fields: + field_substatuses: + - + target_id: '29' + - + target_id: '18' + - + target_id: '19' +b1d4664d-0ce9-4c6c-b224-c7cbe4913356: + uuid: b1d4664d-0ce9-4c6c-b224-c7cbe4913356 + tid: '14' + vid: client_status + name: Confirmed + langcode: en + description: '' + weight: '1' + parent: '0' + fields: + field_substatuses: + - + target_id: '32' + - + target_id: '22' + - + target_id: '23' +9f973447-e4ac-4191-b1a2-ff59f211967f: + uuid: 9f973447-e4ac-4191-b1a2-ff59f211967f + tid: '15' + vid: client_status + name: Accredited + langcode: en + description: '' + weight: '2' + parent: '0' + fields: + field_substatuses: + - + target_id: '24' + - + target_id: '25' + - + target_id: '27' + - + target_id: '26' + - + target_id: '28' +3aca6a65-3f66-41ed-8b8a-d1a52ab8b85c: + uuid: 3aca6a65-3f66-41ed-8b8a-d1a52ab8b85c + tid: '16' + vid: client_status + name: 'Reaccreditation due' + langcode: en + description: '' + weight: '3' + parent: '0' + fields: + field_substatuses: + - + target_id: '30' + - + target_id: '31' +edd4a0ac-3c1b-4717-8ea9-2486f8239545: + uuid: edd4a0ac-3c1b-4717-8ea9-2486f8239545 + tid: '17' + vid: client_status + name: 'Lapsed or Overdue' + langcode: en + description: '' + weight: '4' + parent: '0' + fields: + field_substatuses: + - + target_id: '33' +741d068a-df17-494d-8ce5-724d40b43f70: + uuid: 741d068a-df17-494d-8ce5-724d40b43f70 + tid: '18' + vid: clie + name: 'Info sent' + langcode: en + description: '' + weight: '1' + parent: '0' +33d3d101-5766-4f9c-b384-819231549cdf: + uuid: 33d3d101-5766-4f9c-b384-819231549cdf + tid: '19' + vid: clie + name: 'Contract sent' + langcode: en + description: '' + weight: '2' + parent: '0' +16ee83e2-efa6-4ec7-9cd6-3c8cc5aa893b: + uuid: 16ee83e2-efa6-4ec7-9cd6-3c8cc5aa893b + tid: '22' + vid: clie + name: 'One-off training' + langcode: en + description: '' + weight: '4' + parent: '0' +1f990032-7dbe-4302-9004-28af68822305: + uuid: 1f990032-7dbe-4302-9004-28af68822305 + tid: '23' + vid: clie + name: 'Follow-up sent' + langcode: en + description: '' + weight: '5' + parent: '0' +1e30a83f-00ea-44b0-b5a9-34b57b15696d: + uuid: 1e30a83f-00ea-44b0-b5a9-34b57b15696d + tid: '24' + vid: clie + name: 'Recently Accredited' + langcode: en + description: '' + weight: '6' + parent: '0' +9915606c-1775-4f68-be24-ffaa629ee0b1: + uuid: 9915606c-1775-4f68-be24-ffaa629ee0b1 + tid: '25' + vid: clie + name: '3-month follow-up due' + langcode: en + description: '' + weight: '7' + parent: '0' +98d1370b-e29f-45fb-b053-b911c2538870: + uuid: 98d1370b-e29f-45fb-b053-b911c2538870 + tid: '26' + vid: clie + name: '6-month follow-up due' + langcode: en + description: '' + weight: '9' + parent: '0' +a6a9c46d-376f-4bb7-a598-90b8e78fc40c: + uuid: a6a9c46d-376f-4bb7-a598-90b8e78fc40c + tid: '27' + vid: clie + name: '3-month follow-up sent' + langcode: en + description: '' + weight: '8' + parent: '0' +ab927ebd-555a-4f28-bcda-cc14628fc75a: + uuid: ab927ebd-555a-4f28-bcda-cc14628fc75a + tid: '28' + vid: clie + name: '6-month follow-up sent' + langcode: en + description: '' + weight: '10' + parent: '0' +7c7fed76-087c-4437-894b-3dbe827df311: + uuid: 7c7fed76-087c-4437-894b-3dbe827df311 + tid: '29' + vid: clie + name: 'New lead' + langcode: en + description: '' + weight: '0' + parent: '0' +8528c89c-1ebd-4d2a-9d95-49d54d59fc23: + uuid: 8528c89c-1ebd-4d2a-9d95-49d54d59fc23 + tid: '30' + vid: clie + name: 'Reaccreditation due' + langcode: en + description: '' + weight: '11' + parent: '0' +5e8d044e-25d3-4546-ae49-f8a12ff74c64: + uuid: 5e8d044e-25d3-4546-ae49-f8a12ff74c64 + tid: '31' + vid: clie + name: Recontacted + langcode: en + description: '' + weight: '12' + parent: '0' +7bfa7afc-b627-4539-bd5d-162bad5577c6: + uuid: 7bfa7afc-b627-4539-bd5d-162bad5577c6 + tid: '32' + vid: clie + name: Confirmed + langcode: en + description: '' + weight: '3' + parent: '0' +01b3353f-0141-4d9a-a075-c7e5770e11cb: + uuid: 01b3353f-0141-4d9a-a075-c7e5770e11cb + tid: '33' + vid: clie + name: 'Lapsed or overdue' + langcode: en + description: '' + weight: '13' + parent: '0' +fa8828e5-496c-4c1b-b116-3bc77481d343: + uuid: fa8828e5-496c-4c1b-b116-3bc77481d343 + tid: '34' + vid: client_status + name: 'Failed Accreditation' + langcode: en + description: '' + weight: '5' + parent: '0' + fields: + field_substatuses: + - + target_id: '35' +49abf09c-0f21-4627-a9d9-0a95482085a7: + uuid: 49abf09c-0f21-4627-a9d9-0a95482085a7 + tid: '35' + vid: clie + name: 'Failed Accreditation' + langcode: en + description: '' + weight: '14' + parent: '0' +180f0733-2d56-49fa-8dc5-8ffe1a9c02fa: + uuid: 180f0733-2d56-49fa-8dc5-8ffe1a9c02fa + tid: '36' + vid: tags + name: LGBTQ+ + langcode: en + description: '' + weight: '0' + parent: '0' +5afc88a5-74c3-472a-a5d6-7face67062c8: + uuid: 5afc88a5-74c3-472a-a5d6-7face67062c8 + tid: '37' + vid: tags + name: 'Community Project' + langcode: en + description: '' + weight: '0' + parent: '0' +31afbf21-adae-47c0-bc00-8d301fc5987c: + uuid: 31afbf21-adae-47c0-bc00-8d301fc5987c + tid: '38' + vid: tags + name: 'DICE Discount' + langcode: en + description: '' + weight: '0' + parent: '0' +1aaec6b1-e013-46cc-87d3-7c03e7eb44e3: + uuid: 1aaec6b1-e013-46cc-87d3-7c03e7eb44e3 + tid: '40' + vid: client_subtypes + name: 'Arts Venue' + langcode: en + description: '' + weight: '3' + parent: '0' + fields: + field_parent_type: + - + target_id: '3' +057c3514-8413-463f-989e-cd8deda6c71c: + uuid: 057c3514-8413-463f-989e-cd8deda6c71c + tid: '41' + vid: client_status + name: Closed + langcode: en + description: '' + weight: '6' + parent: '0' + fields: + field_substatuses: + - + target_id: '42' +c0c6397d-4f7c-4077-af51-1860ccad26a3: + uuid: c0c6397d-4f7c-4077-af51-1860ccad26a3 + tid: '42' + vid: clie + name: Closed + langcode: en + description: '' + weight: '15' + parent: '0' + diff --git a/config/core.extension.yml b/config/core.extension.yml index 956f0a6..b65f689 100644 --- a/config/core.extension.yml +++ b/config/core.extension.yml @@ -10,6 +10,7 @@ module: comment: 0 config: 0 contact: 0 + content_as_config: 0 contextual: 0 ctools: 0 datetime: 0