Config sync

This commit is contained in:
Rob Davies 2017-04-13 15:11:57 +01:00
parent f578ac77b4
commit da7a7918f8
13 changed files with 346 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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: { }

View file

@ -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: { }

View file

@ -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: { }

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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: ''

View file

@ -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&#39;s <a href=\"/code-of-conduct\">Code of Conduct</a>.'\n"
css: ''
javascript: ''
settings: