From 9452fe0204fc7044c8fa9ec98aaffda858f74e48 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 3 Sep 2021 11:47:56 +0200 Subject: [PATCH] Config export --- composer.json | 1 + composer.lock | 337 ++++++++---------- ..._form_display.oc_case.training.default.yml | 8 + ..._view_display.oc_case.training.default.yml | 11 + ...ld.oc_case.training.field_social_media.yml | 23 ++ ...eld.storage.oc_case.field_social_media.yml | 22 ++ ...nisation.field_type_of_umbrella_client.yml | 3 + ...d.storage.paragraph.field_trainer_role.yml | 3 - ...ties.oc_organisation_relation_type.foo.yml | 6 + ...ion_relation_type.link_between_clients.yml | 2 +- config/user.role.gno_standard_user.yml | 4 + 11 files changed, 226 insertions(+), 194 deletions(-) create mode 100644 config/field.field.oc_case.training.field_social_media.yml create mode 100644 config/field.storage.oc_case.field_social_media.yml create mode 100644 config/opencase_entities.oc_organisation_relation_type.foo.yml diff --git a/composer.json b/composer.json index a70c5b8..ba03489 100644 --- a/composer.json +++ b/composer.json @@ -31,6 +31,7 @@ "drupal/core-project-message": "^8.9.17", "drupal/core-recommended": "^8.9.17", "drupal/ctools": "^3.7", + "drupal/devel_entity_updates": "^3.0", "drupal/entity_extra_field": "^2.0@alpha", "drupal/entity_reference_revisions": "^1.9", "drupal/field_permissions": "^1.1", diff --git a/composer.lock b/composer.lock index ae87550..8aade41 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": "d3c6e650bd837c5f1b1d259986d6a9d3", + "content-hash": "858fa60a701d4684082dacf718470955", "packages": [ { "name": "asm89/stack-cors", @@ -2321,6 +2321,136 @@ "source": "https://git.drupalcode.org/project/dbug" } }, + { + "name": "drupal/devel", + "version": "4.1.1", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/devel.git", + "reference": "4.1.1" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/devel-4.1.1.zip", + "reference": "4.1.1", + "shasum": "88e5d49dda26a3136291ecd97bc6c8e897b24198" + }, + "require": { + "doctrine/common": "^2.7", + "drupal/core": "^8.8 || ^9", + "symfony/var-dumper": "^4 || ^5" + }, + "conflict": { + "kint-php/kint": "<3" + }, + "require-dev": { + "drush/drush": "^10" + }, + "suggest": { + "kint-php/kint": "Kint provides an informative display of arrays/objects. Useful for debugging and developing." + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "4.1.1", + "datestamp": "1609419527", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9 || ^10" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "drupalspoons", + "homepage": "https://www.drupal.org/user/3647684" + }, + { + "name": "moshe weitzman", + "homepage": "https://www.drupal.org/user/23" + } + ], + "description": "Various blocks, pages, and functions for developers.", + "homepage": "https://www.drupal.org/project/devel", + "support": { + "source": "https://gitlab.com/drupalspoons/devel", + "issues": "https://gitlab.com/drupalspoons/devel/-/issues", + "slack": "https://drupal.slack.com/archives/C012WAW1MH6" + } + }, + { + "name": "drupal/devel_entity_updates", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/devel_entity_updates.git", + "reference": "3.0.1" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/devel_entity_updates-3.0.1.zip", + "reference": "3.0.1", + "shasum": "ed7f7b410659538b4ccf898933ef413f75382896" + }, + "require": { + "drupal/core": "^8.7.7 || ^9", + "drupal/devel": "*" + }, + "conflict": { + "drupal/core": "<8.7", + "drush/drush": ">=9.0 <9.6" + }, + "require-dev": { + "drupal/devel": "^2 || ^3" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "3.0.1", + "datestamp": "1614938245", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9 || ^10" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Francesco Placella (plach)", + "homepage": "https://www.drupal.org/u/plach", + "role": "Maintainer" + }, + { + "name": "plach", + "homepage": "https://www.drupal.org/user/183211" + } + ], + "description": "Provides developers an API and drush command to perform automatic entity updates.", + "homepage": "http://drupal.org/project/devel_entity_updates", + "support": { + "source": "https://cgit.drupalcode.org/devel_entity_updates", + "issues": "https://drupal.org/project/issues/devel_entity_updates", + "irc": "irc://irc.freenode.org/drupal-contribute" + } + }, { "name": "drupal/entity_extra_field", "version": "2.0.0-alpha3", @@ -3433,12 +3563,6 @@ ], "description": "Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.", "homepage": "http://www.drush.org", - "funding": [ - { - "url": "https://github.com/weitzman", - "type": "github" - } - ], "time": "2021-08-13T10:40:40+00:00" }, { @@ -4520,16 +4644,6 @@ "archive", "tar" ], - "funding": [ - { - "url": "https://github.com/mrook", - "type": "github" - }, - { - "url": "https://www.patreon.com/michielrook", - "type": "patreon" - } - ], "time": "2021-07-20T13:53:39+00:00" }, { @@ -4744,12 +4858,6 @@ } ], "description": "PHPMailer is a full-featured email creation and transfer class for PHP", - "funding": [ - { - "url": "https://github.com/Synchro", - "type": "github" - } - ], "time": "2021-08-18T09:14:16+00:00" }, { @@ -5479,34 +5587,20 @@ ], "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2021-07-21T12:19:41+00:00" }, { "name": "symfony/finder", - "version": "v4.4.27", + "version": "v4.4.30", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "42414d7ac96fc2880a783b872185789dea0d4262" + "reference": "70362f1e112280d75b30087c7598b837c1b468b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/42414d7ac96fc2880a783b872185789dea0d4262", - "reference": "42414d7ac96fc2880a783b872185789dea0d4262", + "url": "https://api.github.com/repos/symfony/finder/zipball/70362f1e112280d75b30087c7598b837c1b468b6", + "reference": "70362f1e112280d75b30087c7598b837c1b468b6", "shasum": "" }, "require": { @@ -5538,21 +5632,7 @@ ], "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-07-23T15:41:52+00:00" + "time": "2021-08-04T20:31:23+00:00" }, { "name": "symfony/http-foundation", @@ -6170,20 +6250,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2021-07-28T13:41:28+00:00" }, { @@ -6663,16 +6729,16 @@ }, { "name": "symfony/var-dumper", - "version": "v4.4.27", + "version": "v4.4.30", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "391d6d0e7a06ab54eb7c38fab29b8d174471b3ba" + "reference": "7f65c44c2ce80d3a0fcdb6385ee0ad535e45660c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/391d6d0e7a06ab54eb7c38fab29b8d174471b3ba", - "reference": "391d6d0e7a06ab54eb7c38fab29b8d174471b3ba", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/7f65c44c2ce80d3a0fcdb6385ee0ad535e45660c", + "reference": "7f65c44c2ce80d3a0fcdb6385ee0ad535e45660c", "shasum": "" }, "require": { @@ -6731,21 +6797,7 @@ "debug", "dump" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-07-23T15:41:52+00:00" + "time": "2021-08-04T20:31:23+00:00" }, { "name": "symfony/yaml", @@ -7495,72 +7547,6 @@ "description": "Drupal Console Extend Plugin", "time": "2020-11-18T00:15:28+00:00" }, - { - "name": "drupal/devel", - "version": "4.1.1", - "source": { - "type": "git", - "url": "https://git.drupalcode.org/project/devel.git", - "reference": "4.1.1" - }, - "dist": { - "type": "zip", - "url": "https://ftp.drupal.org/files/projects/devel-4.1.1.zip", - "reference": "4.1.1", - "shasum": "88e5d49dda26a3136291ecd97bc6c8e897b24198" - }, - "require": { - "doctrine/common": "^2.7", - "drupal/core": "^8.8 || ^9", - "symfony/var-dumper": "^4 || ^5" - }, - "conflict": { - "kint-php/kint": "<3" - }, - "require-dev": { - "drush/drush": "^10" - }, - "suggest": { - "kint-php/kint": "Kint provides an informative display of arrays/objects. Useful for debugging and developing." - }, - "type": "drupal-module", - "extra": { - "drupal": { - "version": "4.1.1", - "datestamp": "1609419527", - "security-coverage": { - "status": "covered", - "message": "Covered by Drupal's security advisory policy" - } - }, - "drush": { - "services": { - "drush.services.yml": "^9 || ^10" - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "drupalspoons", - "homepage": "https://www.drupal.org/user/3647684" - }, - { - "name": "moshe weitzman", - "homepage": "https://www.drupal.org/user/23" - } - ], - "description": "Various blocks, pages, and functions for developers.", - "homepage": "https://www.drupal.org/project/devel", - "support": { - "source": "https://gitlab.com/drupalspoons/devel", - "issues": "https://gitlab.com/drupalspoons/devel/-/issues", - "slack": "https://drupal.slack.com/archives/C012WAW1MH6" - } - }, { "name": "stecman/symfony-console-completion", "version": "0.11.0", @@ -7608,16 +7594,16 @@ }, { "name": "symfony/config", - "version": "v4.4.27", + "version": "v4.4.30", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "8132e8d645d703e9b7c9c4f25067b93638683a35" + "reference": "d9ea72de055cd822e5228ff898e2aad2f52f76b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/8132e8d645d703e9b7c9c4f25067b93638683a35", - "reference": "8132e8d645d703e9b7c9c4f25067b93638683a35", + "url": "https://api.github.com/repos/symfony/config/zipball/d9ea72de055cd822e5228ff898e2aad2f52f76b0", + "reference": "d9ea72de055cd822e5228ff898e2aad2f52f76b0", "shasum": "" }, "require": { @@ -7665,21 +7651,7 @@ ], "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-07-21T12:19:41+00:00" + "time": "2021-08-04T20:31:23+00:00" }, { "name": "symfony/css-selector", @@ -7728,20 +7700,6 @@ ], "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2021-07-21T12:19:41+00:00" }, { @@ -7878,6 +7836,5 @@ "prefer-stable": true, "prefer-lowest": false, "platform": [], - "platform-dev": [], - "plugin-api-version": "1.1.0" + "platform-dev": [] } diff --git a/config/core.entity_form_display.oc_case.training.default.yml b/config/core.entity_form_display.oc_case.training.default.yml index 9d572b6..d4341a4 100644 --- a/config/core.entity_form_display.oc_case.training.default.yml +++ b/config/core.entity_form_display.oc_case.training.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.oc_case.training.field_date_of_training - field.field.oc_case.training.field_project + - field.field.oc_case.training.field_social_media - field.field.oc_case.training.field_trainer - field.field.oc_case.training.field_training_status - field.field.oc_case.training.field_training_type @@ -46,6 +47,13 @@ content: third_party_settings: { } type: entity_reference_autocomplete region: content + field_social_media: + weight: 26 + settings: + display_label: true + third_party_settings: { } + type: boolean_checkbox + region: content field_trainer: type: entity_reference_paragraphs weight: 5 diff --git a/config/core.entity_view_display.oc_case.training.default.yml b/config/core.entity_view_display.oc_case.training.default.yml index 8af3996..392112b 100644 --- a/config/core.entity_view_display.oc_case.training.default.yml +++ b/config/core.entity_view_display.oc_case.training.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.oc_case.training.field_date_of_training - field.field.oc_case.training.field_project + - field.field.oc_case.training.field_social_media - field.field.oc_case.training.field_trainer - field.field.oc_case.training.field_training_status - field.field.oc_case.training.field_training_type @@ -90,6 +91,16 @@ content: third_party_settings: { } type: entity_reference_label region: content + field_social_media: + weight: 81 + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + type: boolean + region: content field_trainer: type: entity_reference_revisions_entity_view weight: 5 diff --git a/config/field.field.oc_case.training.field_social_media.yml b/config/field.field.oc_case.training.field_social_media.yml new file mode 100644 index 0000000..802275f --- /dev/null +++ b/config/field.field.oc_case.training.field_social_media.yml @@ -0,0 +1,23 @@ +uuid: cbcef836-83c9-4b35-8eea-0dd35831f9ed +langcode: en +status: true +dependencies: + config: + - field.storage.oc_case.field_social_media + - opencase_cases.oc_case_type.training +id: oc_case.training.field_social_media +field_name: field_social_media +entity_type: oc_case +bundle: training +label: 'Social Media' +description: 'Whether this training has been documented on social media.' +required: false +translatable: false +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/config/field.storage.oc_case.field_social_media.yml b/config/field.storage.oc_case.field_social_media.yml new file mode 100644 index 0000000..354ec6d --- /dev/null +++ b/config/field.storage.oc_case.field_social_media.yml @@ -0,0 +1,22 @@ +uuid: 8039bc0c-6753-400b-9929-77915c880d13 +langcode: en +status: true +dependencies: + module: + - field_permissions + - opencase_cases +third_party_settings: + field_permissions: + permission_type: public +id: oc_case.field_social_media +field_name: field_social_media +entity_type: oc_case +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/field.storage.oc_organisation.field_type_of_umbrella_client.yml b/config/field.storage.oc_organisation.field_type_of_umbrella_client.yml index b85bd5d..b26d4e2 100644 --- a/config/field.storage.oc_organisation.field_type_of_umbrella_client.yml +++ b/config/field.storage.oc_organisation.field_type_of_umbrella_client.yml @@ -22,6 +22,9 @@ settings: - value: bid label: BID + - + value: funder + label: Funder allowed_values_function: '' module: options locked: false diff --git a/config/field.storage.paragraph.field_trainer_role.yml b/config/field.storage.paragraph.field_trainer_role.yml index ccbbbde..1a9b30d 100644 --- a/config/field.storage.paragraph.field_trainer_role.yml +++ b/config/field.storage.paragraph.field_trainer_role.yml @@ -13,9 +13,6 @@ entity_type: paragraph type: list_string settings: allowed_values: - - - value: lead-facilitator - label: 'Lead Facilitator' - value: facilitator label: Facilitator diff --git a/config/opencase_entities.oc_organisation_relation_type.foo.yml b/config/opencase_entities.oc_organisation_relation_type.foo.yml new file mode 100644 index 0000000..5daa3a4 --- /dev/null +++ b/config/opencase_entities.oc_organisation_relation_type.foo.yml @@ -0,0 +1,6 @@ +uuid: d019fb15-3bc3-4c45-80d7-375e348284f2 +langcode: en +status: true +dependencies: { } +id: foo +label: Foo diff --git a/config/opencase_entities.oc_organisation_relation_type.link_between_clients.yml b/config/opencase_entities.oc_organisation_relation_type.link_between_clients.yml index da5abb8..743221d 100644 --- a/config/opencase_entities.oc_organisation_relation_type.link_between_clients.yml +++ b/config/opencase_entities.oc_organisation_relation_type.link_between_clients.yml @@ -3,4 +3,4 @@ langcode: en status: true dependencies: { } id: link_between_clients -label: 'Link between clients' +label: 'Linked client' diff --git a/config/user.role.gno_standard_user.yml b/config/user.role.gno_standard_user.yml index 5a7b3c6..0b262e2 100644 --- a/config/user.role.gno_standard_user.yml +++ b/config/user.role.gno_standard_user.yml @@ -15,6 +15,7 @@ permissions: - 'add equal opps entities' - 'add event entities' - 'add organisation entities' + - 'add organisation relation entities' - 'add trainer entities' - 'create paragraph content availability' - 'create paragraph content trainer' @@ -23,6 +24,7 @@ permissions: - 'delete case entities' - 'delete equal opps entities' - 'delete organisation entities' + - 'delete organisation relation entities' - 'delete paragraph content availability' - 'delete paragraph content trainer' - 'delete trainer entities' @@ -31,6 +33,7 @@ permissions: - 'edit equal opps entities' - 'edit event entities' - 'edit organisation entities' + - 'edit organisation relation entities' - 'edit trainer entities' - 'update paragraph content availability' - 'update paragraph content trainer' @@ -42,4 +45,5 @@ permissions: - 'view published equal opps entities' - 'view published event entities' - 'view published organisation entities' + - 'view published organisation relation entities' - 'view published trainer entities'