From da7a7918f83512d96b1cf3e2e93056769414cbbc Mon Sep 17 00:00:00 2001 From: Rob Davies Date: Thu, 13 Apr 2017 15:11:57 +0100 Subject: [PATCH] Config sync --- ...se_field_override.node.sponsor.promote.yml | 22 ++++++ ...base_field_override.node.sponsor.title.yml | 18 +++++ ...tity_form_display.node.sponsor.default.yml | 77 +++++++++++++++++++ ...tity_view_display.node.sponsor.default.yml | 42 ++++++++++ ...ntity_view_display.node.sponsor.teaser.yml | 26 +++++++ config/field.field.node.sponsor.body.yml | 22 ++++++ .../field.field.node.sponsor.field_logo.yml | 38 +++++++++ ...field.node.sponsor.field_sponsor_level.yml | 21 +++++ config/field.storage.node.field_logo.yml | 30 ++++++++ ...field.storage.node.field_sponsor_level.yml | 30 ++++++++ config/node.type.sponsor.yml | 17 ++++ config/system.site.yml | 4 +- config/webform.webform.submit_a_session.yml | 2 +- 13 files changed, 346 insertions(+), 3 deletions(-) create mode 100644 config/core.base_field_override.node.sponsor.promote.yml create mode 100644 config/core.base_field_override.node.sponsor.title.yml create mode 100644 config/core.entity_form_display.node.sponsor.default.yml create mode 100644 config/core.entity_view_display.node.sponsor.default.yml create mode 100644 config/core.entity_view_display.node.sponsor.teaser.yml create mode 100644 config/field.field.node.sponsor.body.yml create mode 100644 config/field.field.node.sponsor.field_logo.yml create mode 100644 config/field.field.node.sponsor.field_sponsor_level.yml create mode 100644 config/field.storage.node.field_logo.yml create mode 100644 config/field.storage.node.field_sponsor_level.yml create mode 100644 config/node.type.sponsor.yml diff --git a/config/core.base_field_override.node.sponsor.promote.yml b/config/core.base_field_override.node.sponsor.promote.yml new file mode 100644 index 000000000..f24ee0c77 --- /dev/null +++ b/config/core.base_field_override.node.sponsor.promote.yml @@ -0,0 +1,22 @@ +uuid: a22765c8-9f62-4a3e-90c7-086f1a122716 +langcode: en +status: true +dependencies: + config: + - node.type.sponsor +id: node.sponsor.promote +field_name: promote +entity_type: node +bundle: sponsor +label: 'Promoted to front page' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/config/core.base_field_override.node.sponsor.title.yml b/config/core.base_field_override.node.sponsor.title.yml new file mode 100644 index 000000000..4e5b50a83 --- /dev/null +++ b/config/core.base_field_override.node.sponsor.title.yml @@ -0,0 +1,18 @@ +uuid: 43326bb3-99f9-437c-ac3b-a8f3aa731377 +langcode: en +status: true +dependencies: + config: + - node.type.sponsor +id: node.sponsor.title +field_name: title +entity_type: node +bundle: sponsor +label: Organisation +description: '' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/core.entity_form_display.node.sponsor.default.yml b/config/core.entity_form_display.node.sponsor.default.yml new file mode 100644 index 000000000..590a83a0a --- /dev/null +++ b/config/core.entity_form_display.node.sponsor.default.yml @@ -0,0 +1,77 @@ +uuid: df1073bc-7c13-4a79-a2fa-86f192954c8a +langcode: en +status: true +dependencies: + config: + - field.field.node.sponsor.body + - field.field.node.sponsor.field_logo + - field.field.node.sponsor.field_sponsor_level + - image.style.thumbnail + - node.type.sponsor + module: + - image + - path + - text +id: node.sponsor.default +targetEntityType: node +bundle: sponsor +mode: default +content: + body: + type: text_textarea_with_summary + weight: 31 + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + third_party_settings: { } + created: + type: datetime_timestamp + weight: 10 + settings: { } + third_party_settings: { } + field_logo: + weight: 32 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + field_sponsor_level: + weight: 33 + settings: { } + third_party_settings: { } + type: options_select + path: + type: path + weight: 30 + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + settings: + display_label: true + weight: 15 + third_party_settings: { } + sticky: + type: boolean_checkbox + settings: + display_label: true + weight: 16 + third_party_settings: { } + title: + type: string_textfield + weight: -5 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 5 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } +hidden: { } diff --git a/config/core.entity_view_display.node.sponsor.default.yml b/config/core.entity_view_display.node.sponsor.default.yml new file mode 100644 index 000000000..8fdadfd85 --- /dev/null +++ b/config/core.entity_view_display.node.sponsor.default.yml @@ -0,0 +1,42 @@ +uuid: 4e29dc4c-6b34-4a66-8856-fd6a12d149c8 +langcode: en +status: true +dependencies: + config: + - field.field.node.sponsor.body + - field.field.node.sponsor.field_logo + - field.field.node.sponsor.field_sponsor_level + - node.type.sponsor + module: + - image + - options + - text + - user +id: node.sponsor.default +targetEntityType: node +bundle: sponsor +mode: default +content: + body: + label: hidden + type: text_default + weight: 101 + settings: { } + third_party_settings: { } + field_logo: + weight: 102 + label: above + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + field_sponsor_level: + weight: 103 + label: above + settings: { } + third_party_settings: { } + type: list_default + links: + weight: 100 +hidden: { } diff --git a/config/core.entity_view_display.node.sponsor.teaser.yml b/config/core.entity_view_display.node.sponsor.teaser.yml new file mode 100644 index 000000000..63635c718 --- /dev/null +++ b/config/core.entity_view_display.node.sponsor.teaser.yml @@ -0,0 +1,26 @@ +uuid: 9656c568-69bb-4834-bf34-78704f7393b0 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.sponsor.body + - node.type.sponsor + module: + - text + - user +id: node.sponsor.teaser +targetEntityType: node +bundle: sponsor +mode: teaser +content: + body: + label: hidden + type: text_summary_or_trimmed + weight: 101 + settings: + trim_length: 600 + third_party_settings: { } + links: + weight: 100 +hidden: { } diff --git a/config/field.field.node.sponsor.body.yml b/config/field.field.node.sponsor.body.yml new file mode 100644 index 000000000..9b76278ba --- /dev/null +++ b/config/field.field.node.sponsor.body.yml @@ -0,0 +1,22 @@ +uuid: 735e14e8-07c2-4e1e-b776-014314136175 +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.sponsor + module: + - text +id: node.sponsor.body +field_name: body +entity_type: node +bundle: sponsor +label: 'All about the organisation' +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true +field_type: text_with_summary diff --git a/config/field.field.node.sponsor.field_logo.yml b/config/field.field.node.sponsor.field_logo.yml new file mode 100644 index 000000000..2e990f0dc --- /dev/null +++ b/config/field.field.node.sponsor.field_logo.yml @@ -0,0 +1,38 @@ +uuid: 9e870513-94a7-49ec-af2e-95f0cd723844 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_logo + - node.type.sponsor + module: + - image +id: node.sponsor.field_logo +field_name: field_logo +entity_type: node +bundle: sponsor +label: Logo +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'png gif jpg jpeg' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: true + alt_field_required: true + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + handler: 'default:file' + handler_settings: { } +field_type: image diff --git a/config/field.field.node.sponsor.field_sponsor_level.yml b/config/field.field.node.sponsor.field_sponsor_level.yml new file mode 100644 index 000000000..ecba9264c --- /dev/null +++ b/config/field.field.node.sponsor.field_sponsor_level.yml @@ -0,0 +1,21 @@ +uuid: c0693d1e-c364-443c-97a3-c7642e3f8b54 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_sponsor_level + - node.type.sponsor + module: + - options +id: node.sponsor.field_sponsor_level +field_name: field_sponsor_level +entity_type: node +bundle: sponsor +label: 'Sponsor level' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/field.storage.node.field_logo.yml b/config/field.storage.node.field_logo.yml new file mode 100644 index 000000000..b5c361d09 --- /dev/null +++ b/config/field.storage.node.field_logo.yml @@ -0,0 +1,30 @@ +uuid: 9a9ce28d-a524-43a4-b29f-eea244ec8c8e +langcode: en +status: true +dependencies: + module: + - file + - image + - node +id: node.field_logo +field_name: field_logo +entity_type: node +type: image +settings: + uri_scheme: public + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + target_type: file + display_field: false + display_default: false +module: image +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/field.storage.node.field_sponsor_level.yml b/config/field.storage.node.field_sponsor_level.yml new file mode 100644 index 000000000..e43310a46 --- /dev/null +++ b/config/field.storage.node.field_sponsor_level.yml @@ -0,0 +1,30 @@ +uuid: 507bab73-da90-415d-a5f6-8c5d7b7bfab7 +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_sponsor_level +field_name: field_sponsor_level +entity_type: node +type: list_string +settings: + allowed_values: + - + value: diamond + label: Diamond + - + value: gold + label: Gold + - + value: silver + label: Silver + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/node.type.sponsor.yml b/config/node.type.sponsor.yml new file mode 100644 index 000000000..a3b708e14 --- /dev/null +++ b/config/node.type.sponsor.yml @@ -0,0 +1,17 @@ +uuid: 9fbbf9f0-5b43-4e4b-ab4d-2c29c4729225 +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: { } + parent: '' +name: Sponsor +type: sponsor +description: 'One of our beloved sponsors. We love these guys!' +help: '' +new_revision: true +preview_mode: 1 +display_submitted: false diff --git a/config/system.site.yml b/config/system.site.yml index 8d71e23d3..e65ca7a70 100644 --- a/config/system.site.yml +++ b/config/system.site.yml @@ -1,6 +1,6 @@ uuid: ea3e5742-9adb-4e6c-aec5-289c5cd2b42d -name: 'Drupalcamp Bristol 2017' -mail: rob@microserve.io +name: 'DrupalCamp Bristol 2017' +mail: info@drupalcampbristol.co.uk slogan: '' page: 403: '' diff --git a/config/webform.webform.submit_a_session.yml b/config/webform.webform.submit_a_session.yml index 25e70b039..441d63ced 100644 --- a/config/webform.webform.submit_a_session.yml +++ b/config/webform.webform.submit_a_session.yml @@ -9,7 +9,7 @@ template: false id: submit_a_session title: 'Submit a session' description: '' -elements: "speaker_name:\n '#type': textfield\n '#title': 'Your name'\n '#required': true\nspeaker_email_address:\n '#type': email\n '#title': 'Your email address'\n '#required': true\nsession_title:\n '#type': textfield\n '#title': 'Session title'\n '#required': true\nsession_overview:\n '#type': textarea\n '#title': 'Session overview'\n '#description': 'A short overview of the proposed session.'\n '#required': true\nsession_skill_level:\n '#type': select\n '#title': 'Session skill level'\n '#description': 'A rough guide of the skill level of the session.'\n '#options':\n Beginner: Beginner\n Intermediate: Intermediate\n Advanced: Advanced\n '#required': true\nspeaker_picture:\n '#type': webform_image_file\n '#title': 'Your picture'\n '#description': 'This image will be displayed along with your session on the website. Feel free to upload an avatar if you are not comfortable with us showing your face.'\n '#required': true\nspeaker_twitter_handle:\n '#type': textfield\n '#title': 'Your Twitter handle'\n '#description': 'If you have a Twitter account, please provide it here.'\nspeaker_drupal_org_handle:\n '#type': textfield\n '#title': 'Your Drupal.org handle'\n '#description': 'If you have an account on Drupal.org, please provide your handle here.'\n" +elements: "speaker_name:\n '#type': textfield\n '#title': 'Your name'\n '#required': true\nspeaker_email_address:\n '#type': email\n '#title': 'Your email address'\n '#required': true\nsession_title:\n '#type': textfield\n '#title': 'Session title'\n '#required': true\nsession_overview:\n '#type': textarea\n '#title': 'Session overview'\n '#description': 'A short overview of the proposed session.'\n '#required': true\nsession_skill_level:\n '#type': select\n '#title': 'Session skill level'\n '#description': 'A rough guide of the skill level of the session.'\n '#options':\n Beginner: Beginner\n Intermediate: Intermediate\n Advanced: Advanced\n '#required': true\nsession_length:\n '#type': select\n '#title': 'Session length'\n '#description': 'Shorter talks may be grouped together with other sessions.'\n '#options':\n short: 'Short (15-20 minutes)'\n long: 'Long (40-45 minutes)'\n '#required': true\nspeaker_picture:\n '#type': webform_image_file\n '#title': 'Your picture'\n '#description': 'This image will be displayed along with your session on the website. Feel free to upload an avatar if you are not comfortable with us showing your face.'\n '#required': true\nspeaker_twitter_handle:\n '#type': textfield\n '#title': 'Your Twitter handle'\n '#description': 'If you have a Twitter account, please provide it here.'\nspeaker_drupal_org_handle:\n '#type': textfield\n '#title': 'Your Drupal.org handle'\n '#description': 'If you have an account on Drupal.org, please provide your handle here.'\ncoc_agree:\n '#type': webform_markup\n '#markup': 'By submitting this form, you agree to abide by the Camp's Code of Conduct.'\n" css: '' javascript: '' settings: