From aa44171cbb180bee01bcc18f4228f866e6affd9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:28:32 -0400 Subject: [PATCH 01/11] Enable landing page Drutopia feature module for homepage --- ...eld_override.node.landing_page.promote.yml | 24 ++++++ ...form_display.node.landing_page.default.yml | 81 +++++++++++++++++++ ...view_display.node.landing_page.default.yml | 22 +++++ ...ty_view_display.node.landing_page.full.yml | 52 ++++++++++++ ..._view_display.node.landing_page.teaser.yml | 23 ++++++ config/sync/core.extension.yml | 2 + config/sync/exclude_node_title.settings.yml | 10 +++ ...node.landing_page.field_body_paragraph.yml | 50 ++++++++++++ ...ield.node.landing_page.field_meta_tags.yml | 25 ++++++ config/sync/node.type.landing_page.yml | 20 +++++ .../pathauto.pattern.node_landing_page.yml | 24 ++++++ config/sync/user.role.anonymous.yml | 1 + config/sync/user.role.authenticated.yml | 1 + .../sync/user.role.content_administrator.yml | 1 + config/sync/user.role.contributor.yml | 1 + config/sync/user.role.editor.yml | 1 + config/sync/user.role.invited_blogger.yml | 1 + config/sync/user.role.manager.yml | 1 + config/sync/user.role.proofreader.yml | 1 + 19 files changed, 341 insertions(+) create mode 100644 config/sync/core.base_field_override.node.landing_page.promote.yml create mode 100644 config/sync/core.entity_form_display.node.landing_page.default.yml create mode 100644 config/sync/core.entity_view_display.node.landing_page.default.yml create mode 100644 config/sync/core.entity_view_display.node.landing_page.full.yml create mode 100644 config/sync/core.entity_view_display.node.landing_page.teaser.yml create mode 100644 config/sync/exclude_node_title.settings.yml create mode 100644 config/sync/field.field.node.landing_page.field_body_paragraph.yml create mode 100644 config/sync/field.field.node.landing_page.field_meta_tags.yml create mode 100644 config/sync/node.type.landing_page.yml create mode 100644 config/sync/pathauto.pattern.node_landing_page.yml diff --git a/config/sync/core.base_field_override.node.landing_page.promote.yml b/config/sync/core.base_field_override.node.landing_page.promote.yml new file mode 100644 index 0000000..75e8546 --- /dev/null +++ b/config/sync/core.base_field_override.node.landing_page.promote.yml @@ -0,0 +1,24 @@ +uuid: aa9cce2d-9b16-41b1-b9bd-ecf5b7be4c41 +langcode: en +status: true +dependencies: + config: + - node.type.landing_page +_core: + default_config_hash: KZ4pDrGhkRiIo7Ee-E4HGZp7YPXKS_FLR0nLeUQ3P2U +id: node.landing_page.promote +field_name: promote +entity_type: node +bundle: landing_page +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/sync/core.entity_form_display.node.landing_page.default.yml b/config/sync/core.entity_form_display.node.landing_page.default.yml new file mode 100644 index 0000000..d2de315 --- /dev/null +++ b/config/sync/core.entity_form_display.node.landing_page.default.yml @@ -0,0 +1,81 @@ +uuid: c2804f79-3eed-4c45-a758-d43b79f1cadb +langcode: en +status: true +dependencies: + config: + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - metatag + - paragraphs + - path +_core: + default_config_hash: 1JbtcM97POtzhg3_yUkVthAEH8Gnb1vv1uzpZ7QiWPY +id: node.landing_page.default +targetEntityType: node +bundle: landing_page +mode: default +content: + created: + type: datetime_timestamp + weight: 3 + region: content + settings: { } + third_party_settings: { } + field_body_paragraph: + weight: 1 + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + add_mode: button + form_display_mode: default + default_paragraph_type: _none + third_party_settings: { } + type: entity_reference_paragraphs + region: content + field_meta_tags: + weight: 5 + settings: { } + third_party_settings: { } + type: metatag_firehose + region: content + path: + type: path + weight: 4 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + settings: + display_label: true + weight: 6 + region: content + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 2 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + region: content + third_party_settings: { } + url_redirects: + weight: 50 + settings: { } + third_party_settings: { } + region: content +hidden: + promote: true + sticky: true diff --git a/config/sync/core.entity_view_display.node.landing_page.default.yml b/config/sync/core.entity_view_display.node.landing_page.default.yml new file mode 100644 index 0000000..bb8caf6 --- /dev/null +++ b/config/sync/core.entity_view_display.node.landing_page.default.yml @@ -0,0 +1,22 @@ +uuid: 00e02436-6264-4305-9ba1-65bce5d1951d +langcode: en +status: true +dependencies: + config: + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - user +_core: + default_config_hash: v2M7V8tN6TiqnoWONGAwAfzJywu0vB04hvs-LQx-bIQ +id: node.landing_page.default +targetEntityType: node +bundle: landing_page +mode: default +content: { } +hidden: + field_body_paragraph: true + field_meta_tags: true + links: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.landing_page.full.yml b/config/sync/core.entity_view_display.node.landing_page.full.yml new file mode 100644 index 0000000..caf7bff --- /dev/null +++ b/config/sync/core.entity_view_display.node.landing_page.full.yml @@ -0,0 +1,52 @@ +uuid: 68fbd239-453b-4805-8c5e-4b5a9bbafe91 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.full + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - ds + - entity_reference_revisions + - user +third_party_settings: + ds: + layout: + id: ds_1col + library: null + disable_css: false + entity_classes: all_classes + settings: + wrappers: + ds_content: div + outer_wrapper: div + attributes: '' + link_attribute: '' + link_custom: '' + classes: + layout_class: { } + regions: + ds_content: + - field_body_paragraph +_core: + default_config_hash: tf5HX48OUBJfLFIGGe79En5nUTNVRQiHp0F3KOQB8ts +id: node.landing_page.full +targetEntityType: node +bundle: landing_page +mode: full +content: + field_body_paragraph: + weight: 0 + label: visually_hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + type: entity_reference_revisions_entity_view + region: ds_content +hidden: + field_meta_tags: true + links: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.landing_page.teaser.yml b/config/sync/core.entity_view_display.node.landing_page.teaser.yml new file mode 100644 index 0000000..83cf3e2 --- /dev/null +++ b/config/sync/core.entity_view_display.node.landing_page.teaser.yml @@ -0,0 +1,23 @@ +uuid: 5915c622-dadd-4de6-b73a-a079a29f45fc +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - user +_core: + default_config_hash: GHwp_RJVCxC8Exv6YY62SXzj3VnydGqjPptC9BNzIXY +id: node.landing_page.teaser +targetEntityType: node +bundle: landing_page +mode: teaser +content: { } +hidden: + field_body_paragraph: true + field_meta_tags: true + links: true + search_api_excerpt: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 0db6d3c..d72b859 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -34,6 +34,7 @@ module: drutopia_blog: 0 drutopia_comment: 0 drutopia_core: 0 + drutopia_landing_page: 0 drutopia_page: 0 drutopia_people: 0 drutopia_related_content: 0 @@ -43,6 +44,7 @@ module: dynamic_page_cache: 0 editor: 0 entity_reference_revisions: 0 + exclude_node_title: 0 facets: 0 faqfield: 0 field: 0 diff --git a/config/sync/exclude_node_title.settings.yml b/config/sync/exclude_node_title.settings.yml new file mode 100644 index 0000000..3bf8f41 --- /dev/null +++ b/config/sync/exclude_node_title.settings.yml @@ -0,0 +1,10 @@ +nid_list: { } +translation_sync: true +search: false +_core: + default_config_hash: tFcyNjovmdPA1ZVm7j2Iymt809j-r2F5uSDJAOI_QV8 +content_types: + landing_page: user +content_type_modes: + landing_page: + - full diff --git a/config/sync/field.field.node.landing_page.field_body_paragraph.yml b/config/sync/field.field.node.landing_page.field_body_paragraph.yml new file mode 100644 index 0000000..1e9a727 --- /dev/null +++ b/config/sync/field.field.node.landing_page.field_body_paragraph.yml @@ -0,0 +1,50 @@ +uuid: 9cf88342-e4b2-4f30-9737-1e03036dcfc2 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_body_paragraph + - node.type.landing_page + - paragraphs.paragraphs_type.file + - paragraphs.paragraphs_type.image + - paragraphs.paragraphs_type.slide + - paragraphs.paragraphs_type.text + module: + - entity_reference_revisions +_core: + default_config_hash: SY6szifQZxW4ucxM-P_RlOcopaMTOymNXiEZPLSvDec +id: node.landing_page.field_body_paragraph +field_name: field_body_paragraph +entity_type: node +bundle: landing_page +label: 'Body paragraph' +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + text: text + file: file + image: image + slide: slide + target_bundles_drag_drop: + text: + enabled: true + weight: -9 + file: + enabled: true + weight: -8 + image: + enabled: true + weight: -7 + update: + weight: -6 + enabled: false + slide: + enabled: true + weight: 8 +field_type: entity_reference_revisions diff --git a/config/sync/field.field.node.landing_page.field_meta_tags.yml b/config/sync/field.field.node.landing_page.field_meta_tags.yml new file mode 100644 index 0000000..eb7f3a8 --- /dev/null +++ b/config/sync/field.field.node.landing_page.field_meta_tags.yml @@ -0,0 +1,25 @@ +uuid: 93ace921-d148-4ad6-8750-e76679c9402c +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_meta_tags + - node.type.landing_page + module: + - metatag +_core: + default_config_hash: 0TxksFlbv1taSWO5o9DKYQD7j4RPtqVhI7iV_bEGjTQ +id: node.landing_page.field_meta_tags +field_name: field_meta_tags +entity_type: node +bundle: landing_page +label: 'Meta tags' +description: '' +required: false +translatable: true +default_value: + - + value: 'a:0:{}' +default_value_callback: '' +settings: { } +field_type: metatag diff --git a/config/sync/node.type.landing_page.yml b/config/sync/node.type.landing_page.yml new file mode 100644 index 0000000..41027ed --- /dev/null +++ b/config/sync/node.type.landing_page.yml @@ -0,0 +1,20 @@ +uuid: c9f94913-145e-42d9-ace1-4e4db790d483 +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +_core: + default_config_hash: QECb_5oLjGh317SVZR3QFu-KwYdEVSyCJt5RrxFDRgY +name: 'Landing page' +type: landing_page +description: 'Landing pages can be used for custom pages such as the home page.' +help: '' +new_revision: true +preview_mode: 1 +display_submitted: false diff --git a/config/sync/pathauto.pattern.node_landing_page.yml b/config/sync/pathauto.pattern.node_landing_page.yml new file mode 100644 index 0000000..b4c559c --- /dev/null +++ b/config/sync/pathauto.pattern.node_landing_page.yml @@ -0,0 +1,24 @@ +uuid: ef6f1477-7e02-4e4f-b572-a63528c68d1d +langcode: en +status: true +dependencies: + module: + - node +_core: + default_config_hash: wUpPksQmnec902szX_9DPHUMSVP9dfU1nJ8AX1UGFFk +id: node_landing_page +label: 'Node landing page' +type: 'canonical_entities:node' +pattern: '[node:title]' +selection_criteria: + e3e7a232-e1e0-455e-8b69-c99b582dc4f0: + id: node_type + bundles: + landing_page: landing_page + negate: false + context_mapping: + node: node + uuid: e3e7a232-e1e0-455e-8b69-c99b582dc4f0 +selection_logic: and +weight: -5 +relationships: { } diff --git a/config/sync/user.role.anonymous.yml b/config/sync/user.role.anonymous.yml index f8da444..b02273e 100644 --- a/config/sync/user.role.anonymous.yml +++ b/config/sync/user.role.anonymous.yml @@ -21,6 +21,7 @@ permissions: - 'diff view changes' - 'search Google CSE' - 'search content' + - 'use exclude node title' - 'use text format 1' - 'use text format 3' - 'view disqus comments' diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index 8024226..0ab1198 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -27,6 +27,7 @@ permissions: - 'edit own forum content' - 'edit own weblinks' - 'search content' + - 'use exclude node title' - 'use text format 1' - 'use text format 3' - 'view disqus comments' diff --git a/config/sync/user.role.content_administrator.yml b/config/sync/user.role.content_administrator.yml index 8bf8b3d..62bab2b 100644 --- a/config/sync/user.role.content_administrator.yml +++ b/config/sync/user.role.content_administrator.yml @@ -141,6 +141,7 @@ permissions: - 'unflag slider' - 'upload files' - 'use advanced search' + - 'use exclude node title' - 'use text format 3' - 'view files' - 'view revisions' diff --git a/config/sync/user.role.contributor.yml b/config/sync/user.role.contributor.yml index 257957e..4fcdbce 100644 --- a/config/sync/user.role.contributor.yml +++ b/config/sync/user.role.contributor.yml @@ -26,4 +26,5 @@ permissions: - 'edit own people content' - 'edit terms in tags' - 'skip comment approval' + - 'use exclude node title' - 'view the administration theme' diff --git a/config/sync/user.role.editor.yml b/config/sync/user.role.editor.yml index 9725c24..721b46e 100644 --- a/config/sync/user.role.editor.yml +++ b/config/sync/user.role.editor.yml @@ -30,6 +30,7 @@ permissions: - 'delete all revisions' - 'revert all revisions' - 'skip comment approval' + - 'use exclude node title' - 'use text format restricted_html' - 'view all revisions' - 'view own unpublished content' diff --git a/config/sync/user.role.invited_blogger.yml b/config/sync/user.role.invited_blogger.yml index c6ba79c..09de64e 100644 --- a/config/sync/user.role.invited_blogger.yml +++ b/config/sync/user.role.invited_blogger.yml @@ -39,6 +39,7 @@ permissions: - 'toggle disqus comments' - 'translate interface' - 'upload files' + - 'use exclude node title' - 'use text format 3' - 'view files' - 'view own unpublished content' diff --git a/config/sync/user.role.manager.yml b/config/sync/user.role.manager.yml index a896eaa..6dd35a9 100644 --- a/config/sync/user.role.manager.yml +++ b/config/sync/user.role.manager.yml @@ -41,6 +41,7 @@ permissions: - 'edit gdpr_checklist checklistapi checklist' - 'revert all revisions' - 'skip comment approval' + - 'use exclude node title' - 'use text format restricted_html' - 'view all revisions' - 'view own unpublished content' diff --git a/config/sync/user.role.proofreader.yml b/config/sync/user.role.proofreader.yml index 116ec41..5e3989a 100644 --- a/config/sync/user.role.proofreader.yml +++ b/config/sync/user.role.proofreader.yml @@ -37,6 +37,7 @@ permissions: - 'toggle disqus comments' - 'translate interface' - 'use advanced search' + - 'use exclude node title' - 'use text format 3' - 'view files' - 'view revisions' From c292c4d3bd560dd67810e0ac7e04a812a236fe46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:28:44 -0400 Subject: [PATCH 02/11] Commit config snapshots --- ...nfig_sync.module.drutopia_landing_page.yml | 333 ++++++++++++++++++ ....config_sync.module.exclude_node_title.yml | 23 ++ 2 files changed, 356 insertions(+) create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.drutopia_landing_page.yml create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.exclude_node_title.yml diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_landing_page.yml b/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_landing_page.yml new file mode 100644 index 0000000..42fdd32 --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_landing_page.yml @@ -0,0 +1,333 @@ +uuid: b83bb232-eff4-4d9f-a5c2-eb3f6429d060 +langcode: en +status: true +dependencies: + module: + - drutopia_landing_page +id: config_sync.module.drutopia_landing_page +snapshotSet: config_sync +extensionType: module +extensionName: drutopia_landing_page +items: + - + collection: '' + name: core.base_field_override.node.landing_page.promote + data: + langcode: en + status: true + dependencies: + config: + - node.type.landing_page + id: node.landing_page.promote + field_name: promote + entity_type: node + bundle: landing_page + 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 + - + collection: '' + name: core.entity_form_display.node.landing_page.default + data: + langcode: en + status: true + dependencies: + config: + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - metatag + - paragraphs + - path + id: node.landing_page.default + targetEntityType: node + bundle: landing_page + mode: default + content: + created: + type: datetime_timestamp + weight: 3 + region: content + settings: { } + third_party_settings: { } + field_body_paragraph: + weight: 1 + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + add_mode: button + form_display_mode: default + default_paragraph_type: _none + third_party_settings: { } + type: entity_reference_paragraphs + region: content + field_meta_tags: + weight: 5 + settings: { } + third_party_settings: { } + type: metatag_firehose + region: content + path: + type: path + weight: 4 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + settings: + display_label: true + weight: 6 + region: content + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 2 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + region: content + third_party_settings: { } + hidden: + promote: true + sticky: true + - + collection: '' + name: core.entity_view_display.node.landing_page.default + data: + langcode: en + status: true + dependencies: + config: + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - user + id: node.landing_page.default + targetEntityType: node + bundle: landing_page + mode: default + content: { } + hidden: + field_body_paragraph: true + field_meta_tags: true + links: true + - + collection: '' + name: core.entity_view_display.node.landing_page.full + data: + langcode: en + status: true + dependencies: + config: + - core.entity_view_mode.node.full + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - ds + - entity_reference_revisions + - user + third_party_settings: + ds: + layout: + id: ds_1col + library: null + disable_css: false + entity_classes: all_classes + settings: + wrappers: + ds_content: div + outer_wrapper: div + attributes: '' + link_attribute: '' + link_custom: '' + classes: + layout_class: { } + regions: + ds_content: + - field_body_paragraph + id: node.landing_page.full + targetEntityType: node + bundle: landing_page + mode: full + content: + field_body_paragraph: + weight: 0 + label: visually_hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + type: entity_reference_revisions_entity_view + region: ds_content + hidden: + field_meta_tags: true + links: true + - + collection: '' + name: core.entity_view_display.node.landing_page.teaser + data: + langcode: en + status: false + dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.landing_page.field_body_paragraph + - field.field.node.landing_page.field_meta_tags + - node.type.landing_page + module: + - user + id: node.landing_page.teaser + targetEntityType: node + bundle: landing_page + mode: teaser + content: { } + hidden: + field_body_paragraph: true + field_meta_tags: true + links: true + - + collection: '' + name: field.field.node.landing_page.field_body_paragraph + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_body_paragraph + - node.type.landing_page + - paragraphs.paragraphs_type.file + - paragraphs.paragraphs_type.image + - paragraphs.paragraphs_type.slide + - paragraphs.paragraphs_type.text + module: + - entity_reference_revisions + id: node.landing_page.field_body_paragraph + field_name: field_body_paragraph + entity_type: node + bundle: landing_page + label: 'Body paragraph' + description: '' + required: false + translatable: true + default_value: { } + default_value_callback: '' + settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + text: text + file: file + image: image + slide: slide + target_bundles_drag_drop: + text: + enabled: true + weight: -9 + file: + enabled: true + weight: -8 + image: + enabled: true + weight: -7 + update: + weight: -6 + enabled: false + slide: + enabled: true + weight: 8 + field_type: entity_reference_revisions + - + collection: '' + name: field.field.node.landing_page.field_meta_tags + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_meta_tags + - node.type.landing_page + module: + - metatag + id: node.landing_page.field_meta_tags + field_name: field_meta_tags + entity_type: node + bundle: landing_page + label: 'Meta tags' + description: '' + required: false + translatable: true + default_value: + - + value: 'a:0:{}' + default_value_callback: '' + settings: { } + field_type: metatag + - + collection: '' + name: node.type.landing_page + data: + langcode: en + status: true + dependencies: + module: + - menu_ui + third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' + name: 'Landing page' + type: landing_page + description: 'Landing pages can be used for custom pages such as the home page.' + help: '' + new_revision: true + preview_mode: 1 + display_submitted: false + - + collection: '' + name: pathauto.pattern.node_landing_page + data: + langcode: en + status: true + dependencies: + module: + - node + id: node_landing_page + label: 'Node landing page' + type: 'canonical_entities:node' + pattern: '[node:title]' + selection_criteria: + e3e7a232-e1e0-455e-8b69-c99b582dc4f0: + id: node_type + bundles: + landing_page: landing_page + negate: false + context_mapping: + node: node + uuid: e3e7a232-e1e0-455e-8b69-c99b582dc4f0 + selection_logic: and + weight: -5 + relationships: { } diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.exclude_node_title.yml b/config/sync/config_snapshot.snapshot.config_sync.module.exclude_node_title.yml new file mode 100644 index 0000000..f303ff8 --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.exclude_node_title.yml @@ -0,0 +1,23 @@ +uuid: bd07a45e-4f63-4675-a18d-53d13e1b1c75 +langcode: en +status: true +dependencies: + module: + - exclude_node_title +id: config_sync.module.exclude_node_title +snapshotSet: config_sync +extensionType: module +extensionName: exclude_node_title +items: + - + collection: '' + name: exclude_node_title.settings + data: + nid_list: { } + translation_sync: true + search: 0 + content_types: + landing_page: user + content_type_modes: + landing_page: + - full From 4abc28c5976a88023d287fb09fc972b5982408b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:31:26 -0400 Subject: [PATCH 03/11] Add client-side hierarchical select module to requirements Ref #15 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 888e813..32c364d 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "drupal/drutopia_collection": "^1.0@alpha", "drupal/field_token_value": "^1.0", "drupal/link_attributes": "^1.9", - "drupal/claro": "^1.0@alpha" + "drupal/claro": "^1.0@alpha", + "drupal/cshs": "^1.0@beta" }, "repositories": { "drupal": { From ed12254427704bc6404517222dc729d3ec20006e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:31:36 -0400 Subject: [PATCH 04/11] Update composer lock file --- composer.lock | 60 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/composer.lock b/composer.lock index 25818bf..6d44308 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": "cc21653b56edf50e0fd78cdf2a1703a1", + "content-hash": "f4b27436bc2d72ef3bb5b91a0390adbf", "packages": [ { "name": "asm89/stack-cors", @@ -3612,6 +3612,61 @@ "issues": "https://www.drupal.org/project/issues/crop" } }, + { + "name": "drupal/cshs", + "version": "1.0.0-beta4", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/cshs.git", + "reference": "8.x-1.0-beta4" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/cshs-8.x-1.0-beta4.zip", + "reference": "8.x-1.0-beta4", + "shasum": "332c4cf5b70644ab65b338706186e390256a034e" + }, + "require": { + "drupal/core": "*" + }, + "type": "drupal-module", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + }, + "drupal": { + "version": "8.x-1.0-beta4", + "datestamp": "1497737343", + "security-coverage": { + "status": "not-covered", + "message": "Beta releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "BR0kEN", + "homepage": "https://www.drupal.org/user/2802285" + }, + { + "name": "purushotam.rai", + "homepage": "https://www.drupal.org/user/3193859" + }, + { + "name": "valderama", + "homepage": "https://www.drupal.org/user/103634" + } + ], + "description": "A simple client-side hierarchical select widget for taxonomy terms.", + "homepage": "https://www.drupal.org/project/cshs", + "support": { + "source": "https://git.drupalcode.org/project/cshs" + } + }, { "name": "drupal/ctools", "version": "3.2.0", @@ -11078,7 +11133,8 @@ "drupal/config_actions": 20, "drupal/convert_bundles": 15, "drupal/drutopia_collection": 15, - "drupal/claro": 15 + "drupal/claro": 15, + "drupal/cshs": 10 }, "prefer-stable": true, "prefer-lowest": false, From 4a3a02243c467fae2896dab7c1d24d1209ad4345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:33:07 -0400 Subject: [PATCH 05/11] Enable Client-side hierarchical select --- config/sync/core.extension.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index d72b859..6251506 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -27,6 +27,7 @@ module: contact: 0 contextual: 0 crop: 0 + cshs: 0 ctools: 0 datetime: 0 dblog: 0 From 647293fcc16adf6b6a9e488dd7c0e18fb11a10bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:33:25 -0400 Subject: [PATCH 06/11] Commit config snapshot --- ...nfig_snapshot.snapshot.config_sync.module.cshs.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.cshs.yml diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.cshs.yml b/config/sync/config_snapshot.snapshot.config_sync.module.cshs.yml new file mode 100644 index 0000000..66a7923 --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.cshs.yml @@ -0,0 +1,11 @@ +uuid: f4b486f2-4922-49c9-a21a-14c2a2a845e9 +langcode: en +status: true +dependencies: + module: + - cshs +id: config_sync.module.cshs +snapshotSet: config_sync +extensionType: module +extensionName: cshs +items: { } From 69ebe9ce26458ffc260c22a1132fd4989ec46d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:59:31 -0400 Subject: [PATCH 07/11] Enable Drutopia Collection feature module for issue indexes Ref #31 Ref #32 --- ...y_form_display.node.collection.default.yml | 149 +++++++ ...y_view_display.node.collection.default.yml | 108 +++++ ...tity_view_display.node.collection.full.yml | 129 ++++++ ...ty_view_display.node.collection.teaser.yml | 49 +++ config/sync/core.extension.yml | 1 + .../sync/field.field.node.collection.body.yml | 24 + ...ld.field.node.collection.field_authors.yml | 31 ++ ...node.collection.field_collection_items.yml | 27 ++ ....node.collection.field_collection_type.yml | 31 ++ ...ield.field.node.collection.field_image.yml | 40 ++ ....field.node.collection.field_meta_tags.yml | 23 + ...ld.field.node.collection.field_summary.yml | 23 + ...field.field.node.collection.field_tags.yml | 31 ++ ...eld.field.node.collection.field_topics.yml | 31 ++ ...ld.storage.node.field_collection_items.yml | 21 + ...eld.storage.node.field_collection_type.yml | 22 + config/sync/node.type.collection.yml | 20 + .../taxonomy.vocabulary.collection_type.yml | 10 + .../views.view.collection_select_content.yml | 409 ++++++++++++++++++ 19 files changed, 1179 insertions(+) create mode 100644 config/sync/core.entity_form_display.node.collection.default.yml create mode 100644 config/sync/core.entity_view_display.node.collection.default.yml create mode 100644 config/sync/core.entity_view_display.node.collection.full.yml create mode 100644 config/sync/core.entity_view_display.node.collection.teaser.yml create mode 100644 config/sync/field.field.node.collection.body.yml create mode 100644 config/sync/field.field.node.collection.field_authors.yml create mode 100644 config/sync/field.field.node.collection.field_collection_items.yml create mode 100644 config/sync/field.field.node.collection.field_collection_type.yml create mode 100644 config/sync/field.field.node.collection.field_image.yml create mode 100644 config/sync/field.field.node.collection.field_meta_tags.yml create mode 100644 config/sync/field.field.node.collection.field_summary.yml create mode 100644 config/sync/field.field.node.collection.field_tags.yml create mode 100644 config/sync/field.field.node.collection.field_topics.yml create mode 100644 config/sync/field.storage.node.field_collection_items.yml create mode 100644 config/sync/field.storage.node.field_collection_type.yml create mode 100644 config/sync/node.type.collection.yml create mode 100644 config/sync/taxonomy.vocabulary.collection_type.yml create mode 100644 config/sync/views.view.collection_select_content.yml diff --git a/config/sync/core.entity_form_display.node.collection.default.yml b/config/sync/core.entity_form_display.node.collection.default.yml new file mode 100644 index 0000000..f825fa8 --- /dev/null +++ b/config/sync/core.entity_form_display.node.collection.default.yml @@ -0,0 +1,149 @@ +uuid: 1673af4a-6312-426a-9101-62aa9f0d3289 +langcode: en +status: true +dependencies: + config: + - field.field.node.collection.body + - field.field.node.collection.field_authors + - field.field.node.collection.field_collection_items + - field.field.node.collection.field_collection_type + - field.field.node.collection.field_image + - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_summary + - field.field.node.collection.field_tags + - field.field.node.collection.field_topics + - image.style.thumbnail + - node.type.collection + module: + - image + - metatag + - path + - text +_core: + default_config_hash: 45H-br1I69zi0Az4J9sYMXMdVokkpmRBWsiWbpe8B64 +id: node.collection.default +targetEntityType: node +bundle: collection +mode: default +content: + created: + type: datetime_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + field_authors: + weight: 4 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + field_collection_items: + weight: 5 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + field_collection_type: + weight: 1 + settings: { } + third_party_settings: { } + type: options_select + region: content + field_image: + weight: 3 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content + field_meta_tags: + weight: 7 + settings: { } + third_party_settings: { } + type: metatag_firehose + region: content + field_summary: + weight: 2 + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + type: text_textarea + region: content + field_tags: + weight: 15 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + field_topics: + weight: 14 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + path: + type: path + weight: 8 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + settings: + display_label: true + weight: 12 + region: content + third_party_settings: { } + status: + type: boolean_checkbox + settings: + display_label: true + weight: 13 + region: content + third_party_settings: { } + sticky: + type: boolean_checkbox + settings: + display_label: true + weight: 11 + region: content + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 6 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + region: content + third_party_settings: { } + url_redirects: + weight: 9 + region: content + settings: { } + third_party_settings: { } +hidden: + body: true diff --git a/config/sync/core.entity_view_display.node.collection.default.yml b/config/sync/core.entity_view_display.node.collection.default.yml new file mode 100644 index 0000000..cee26d6 --- /dev/null +++ b/config/sync/core.entity_view_display.node.collection.default.yml @@ -0,0 +1,108 @@ +uuid: e183398c-575c-4d5e-98ba-579b32d16b03 +langcode: en +status: true +dependencies: + config: + - field.field.node.collection.body + - field.field.node.collection.field_authors + - field.field.node.collection.field_collection_items + - field.field.node.collection.field_collection_type + - field.field.node.collection.field_image + - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_summary + - field.field.node.collection.field_tags + - field.field.node.collection.field_topics + - node.type.collection + module: + - ds + - image + - metatag + - text + - user +_core: + default_config_hash: VdRPCswDeQt_699xq5eV44VFlk9cve4hp9aTbmY4qIM +id: node.collection.default +targetEntityType: node +bundle: collection +mode: default +content: + body: + label: hidden + type: text_default + weight: 2 + settings: { } + third_party_settings: { } + region: content + field_authors: + weight: 5 + label: hidden + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + field_collection_items: + weight: 6 + label: hidden + settings: + view_mode: teaser + link: false + third_party_settings: + ds: + ds_limit: '' + type: entity_reference_entity_view + region: content + field_collection_type: + weight: 9 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + field_image: + weight: 3 + label: hidden + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + region: content + field_meta_tags: + weight: 4 + label: hidden + settings: { } + third_party_settings: { } + type: metatag_empty_formatter + region: content + field_summary: + weight: 1 + label: hidden + settings: { } + third_party_settings: { } + type: text_default + region: content + field_tags: + weight: 8 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + field_topics: + weight: 7 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + links: + weight: 0 + region: content + settings: { } + third_party_settings: { } +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.collection.full.yml b/config/sync/core.entity_view_display.node.collection.full.yml new file mode 100644 index 0000000..11d142d --- /dev/null +++ b/config/sync/core.entity_view_display.node.collection.full.yml @@ -0,0 +1,129 @@ +uuid: 1260a547-04da-466d-adeb-f5f9210de575 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.full + - field.field.node.collection.body + - field.field.node.collection.field_authors + - field.field.node.collection.field_collection_items + - field.field.node.collection.field_collection_type + - field.field.node.collection.field_image + - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_summary + - field.field.node.collection.field_tags + - field.field.node.collection.field_topics + - node.type.collection + module: + - ds + - image + - text + - user +third_party_settings: + ds: + layout: + id: ds_2col_stacked + library: ds/ds_2col_stacked + disable_css: true + entity_classes: all_classes + settings: + wrappers: + header: div + left: div + right: div + footer: div + outer_wrapper: div + attributes: '' + link_attribute: '' + link_custom: '' + classes: + layout_class: { } + regions: + header: + - field_image + left: + - node_post_date + - field_authors + - field_collection_type + - field_topics + - field_tags + right: + - field_summary + - field_collection_items + fields: + node_post_date: + plugin_id: node_post_date + weight: 1 + label: hidden + formatter: ds_post_date_month_day_year +_core: + default_config_hash: DJOx8WaQSefDsn3szN1EbtTVXHNI3Pblt1QD0M_gIMw +id: node.collection.full +targetEntityType: node +bundle: collection +mode: full +content: + field_authors: + weight: 2 + label: hidden + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: left + field_collection_items: + weight: 7 + label: hidden + settings: + view_mode: teaser + link: false + third_party_settings: + ds: + ds_limit: '' + type: entity_reference_entity_view + region: right + field_collection_type: + type: entity_reference_label + weight: 3 + region: left + label: visually_hidden + settings: + link: false + third_party_settings: { } + field_image: + weight: 0 + label: hidden + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + region: header + field_summary: + weight: 6 + label: hidden + settings: { } + third_party_settings: { } + type: text_default + region: right + field_tags: + type: entity_reference_label + weight: 5 + region: left + label: hidden + settings: + link: true + third_party_settings: { } + field_topics: + type: entity_reference_label + weight: 4 + region: left + label: visually_hidden + settings: + link: true + third_party_settings: { } +hidden: + body: true + field_meta_tags: true + links: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.collection.teaser.yml b/config/sync/core.entity_view_display.node.collection.teaser.yml new file mode 100644 index 0000000..9e0c58c --- /dev/null +++ b/config/sync/core.entity_view_display.node.collection.teaser.yml @@ -0,0 +1,49 @@ +uuid: d6f24134-b470-4a98-b653-a3d937e388cf +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.collection.body + - field.field.node.collection.field_authors + - field.field.node.collection.field_collection_items + - field.field.node.collection.field_collection_type + - field.field.node.collection.field_image + - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_summary + - field.field.node.collection.field_tags + - field.field.node.collection.field_topics + - node.type.collection + module: + - text + - user +_core: + default_config_hash: Ae7AbDdKC_kFLs-Rnod2dVpSbQUjbkGCXQtTQ55GV5k +id: node.collection.teaser +targetEntityType: node +bundle: collection +mode: teaser +content: + body: + label: hidden + type: text_summary_or_trimmed + weight: 101 + settings: + trim_length: 600 + third_party_settings: { } + region: content + links: + weight: 100 + settings: { } + third_party_settings: { } + region: content +hidden: + field_authors: true + field_collection_items: true + field_collection_type: true + field_image: true + field_meta_tags: true + field_summary: true + field_tags: true + field_topics: true + search_api_excerpt: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 6251506..7039934 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -33,6 +33,7 @@ module: dblog: 0 drutopia_article: 0 drutopia_blog: 0 + drutopia_collection: 0 drutopia_comment: 0 drutopia_core: 0 drutopia_landing_page: 0 diff --git a/config/sync/field.field.node.collection.body.yml b/config/sync/field.field.node.collection.body.yml new file mode 100644 index 0000000..bd00176 --- /dev/null +++ b/config/sync/field.field.node.collection.body.yml @@ -0,0 +1,24 @@ +uuid: c0005b1e-4f64-4fad-98b2-f44058b55d25 +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.collection + module: + - text +_core: + default_config_hash: WqgDhaPELkw6JGhrh7TfT43wKws4fg45OgEkunye7ss +id: node.collection.body +field_name: body +entity_type: node +bundle: collection +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true +field_type: text_with_summary diff --git a/config/sync/field.field.node.collection.field_authors.yml b/config/sync/field.field.node.collection.field_authors.yml new file mode 100644 index 0000000..c1d0e76 --- /dev/null +++ b/config/sync/field.field.node.collection.field_authors.yml @@ -0,0 +1,31 @@ +uuid: 762ee90e-0623-4e6f-a588-cf9d2842d707 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_authors + - node.type.collection + - node.type.people +_core: + default_config_hash: OrTTW4_ECRhwCEGANjteWeZi18YWtx-oqSJtjtsnQfM +id: node.collection.field_authors +field_name: field_authors +entity_type: node +bundle: collection +label: Authors +description: 'Optionally attribute this collection to one or more of the People with profiles on the site.' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + people: people + sort: + field: title + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.collection.field_collection_items.yml b/config/sync/field.field.node.collection.field_collection_items.yml new file mode 100644 index 0000000..3fda3fe --- /dev/null +++ b/config/sync/field.field.node.collection.field_collection_items.yml @@ -0,0 +1,27 @@ +uuid: f3000391-12f7-4a2c-aed3-81970f4efc69 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_collection_items + - node.type.collection +_core: + default_config_hash: 6X5yj9boH7NtcRbeF2H7cXLeNdjCfZY9ReiufRdXuXc +id: node.collection.field_collection_items +field_name: field_collection_items +entity_type: node +bundle: collection +label: Items +description: 'Select any other content on the site to display as a list of teasers by typing words from the title and looking for the autocompletion of the content you want in the collection. You can change the order after adding each item.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: views + handler_settings: + view: + view_name: collection_select_content + display_name: entity_reference + arguments: { } +field_type: entity_reference diff --git a/config/sync/field.field.node.collection.field_collection_type.yml b/config/sync/field.field.node.collection.field_collection_type.yml new file mode 100644 index 0000000..c344509 --- /dev/null +++ b/config/sync/field.field.node.collection.field_collection_type.yml @@ -0,0 +1,31 @@ +uuid: de63a375-60fa-4584-b2d7-e2f8e87582f0 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_collection_type + - node.type.collection + - taxonomy.vocabulary.collection_type +_core: + default_config_hash: kC3_rOUozrdfvnh-qzpCz7MoI8HoyP1J6OM8cOKdKec +id: node.collection.field_collection_type +field_name: field_collection_type +entity_type: node +bundle: collection +label: 'Collection type' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + collection_type: collection_type + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.collection.field_image.yml b/config/sync/field.field.node.collection.field_image.yml new file mode 100644 index 0000000..b373a74 --- /dev/null +++ b/config/sync/field.field.node.collection.field_image.yml @@ -0,0 +1,40 @@ +uuid: e7a917ab-6692-4c5e-ad23-72eb1904af94 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_image + - node.type.collection + module: + - image +_core: + default_config_hash: zBDVKqvoMMh7BWNgskjQQbHyTDLFE8r96x1qWGUX7Zw +id: node.collection.field_image +field_name: field_image +entity_type: node +bundle: collection +label: Image +description: '' +required: false +translatable: true +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/sync/field.field.node.collection.field_meta_tags.yml b/config/sync/field.field.node.collection.field_meta_tags.yml new file mode 100644 index 0000000..2a7491b --- /dev/null +++ b/config/sync/field.field.node.collection.field_meta_tags.yml @@ -0,0 +1,23 @@ +uuid: 5bec3005-b2d6-421a-8055-512c73d48d0c +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_meta_tags + - node.type.collection + module: + - metatag +_core: + default_config_hash: s5m_9i4ysGOa4EWQLPM8uXAthSHK1wub2Fvl69J6H88 +id: node.collection.field_meta_tags +field_name: field_meta_tags +entity_type: node +bundle: collection +label: 'Meta tags' +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: metatag diff --git a/config/sync/field.field.node.collection.field_summary.yml b/config/sync/field.field.node.collection.field_summary.yml new file mode 100644 index 0000000..cb06651 --- /dev/null +++ b/config/sync/field.field.node.collection.field_summary.yml @@ -0,0 +1,23 @@ +uuid: 645eb7f1-c2ce-4fce-b53d-90a1a5740d06 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_summary + - node.type.collection + module: + - text +_core: + default_config_hash: 4VgNv6j__Zkf6FRVk20T510x6SpcboFHU5NtFipdQyc +id: node.collection.field_summary +field_name: field_summary +entity_type: node +bundle: collection +label: Summary +description: 'Use this space to introduce your collection with a short description. This summary is also> displayed on teasers, such as those shown in search results. ' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: text_long diff --git a/config/sync/field.field.node.collection.field_tags.yml b/config/sync/field.field.node.collection.field_tags.yml new file mode 100644 index 0000000..f5225ec --- /dev/null +++ b/config/sync/field.field.node.collection.field_tags.yml @@ -0,0 +1,31 @@ +uuid: 917a80e2-abe4-47a7-bb33-f4a0d9b48cc4 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_tags + - node.type.collection + - taxonomy.vocabulary.tags +_core: + default_config_hash: rXf2ywn1NcjYQ8T6KyCPzRJ6Ajvk8fNa7BwM4uDdg1I +id: node.collection.field_tags +field_name: field_tags +entity_type: node +bundle: collection +label: Tags +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + tags: tags + sort: + field: name + direction: asc + auto_create: true + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.collection.field_topics.yml b/config/sync/field.field.node.collection.field_topics.yml new file mode 100644 index 0000000..f26216f --- /dev/null +++ b/config/sync/field.field.node.collection.field_topics.yml @@ -0,0 +1,31 @@ +uuid: 6cb39832-a232-4f62-a027-60a71a778f11 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_topics + - node.type.collection + - taxonomy.vocabulary.topics +_core: + default_config_hash: Pg-JRInG6Nx2HfzJT2lKOaq4x1Y4ZFE5SZM9dFzeGlg +id: node.collection.field_topics +field_name: field_topics +entity_type: node +bundle: collection +label: Topics +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + topics: topics + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.storage.node.field_collection_items.yml b/config/sync/field.storage.node.field_collection_items.yml new file mode 100644 index 0000000..224a283 --- /dev/null +++ b/config/sync/field.storage.node.field_collection_items.yml @@ -0,0 +1,21 @@ +uuid: ee461a2f-64c7-48dd-ac1d-ccab29991022 +langcode: en +status: true +dependencies: + module: + - node +_core: + default_config_hash: psnh1gqgVQvkgOeMy2UPZCmTlRAkEBYuBOi6jZGOvUc +id: node.field_collection_items +field_name: field_collection_items +entity_type: node +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_collection_type.yml b/config/sync/field.storage.node.field_collection_type.yml new file mode 100644 index 0000000..bef97c2 --- /dev/null +++ b/config/sync/field.storage.node.field_collection_type.yml @@ -0,0 +1,22 @@ +uuid: c3f7a1f1-2d95-46f1-a794-7295b835437f +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +_core: + default_config_hash: RLkCTg6QDZQdy0j5eduNhF5sSLCi-dqmfp8o_JZAkA0 +id: node.field_collection_type +field_name: field_collection_type +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/config/sync/node.type.collection.yml b/config/sync/node.type.collection.yml new file mode 100644 index 0000000..2c26f5d --- /dev/null +++ b/config/sync/node.type.collection.yml @@ -0,0 +1,20 @@ +uuid: 340ca7c4-ddc9-4fef-8603-2b29aceb696e +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +_core: + default_config_hash: stQdgWbQWDAjVwOeuvG1Ye8uI8OiGwWQ4sinbQPW2lI +name: Collection +type: collection +description: 'Create a collection to bring together ordered listings of Articles, Blog posts, or other content. This is useful for magazine issues or online books (referencing each chapter) or to create a meta-resource of recommended resources and people.' +help: '' +new_revision: true +preview_mode: 1 +display_submitted: false diff --git a/config/sync/taxonomy.vocabulary.collection_type.yml b/config/sync/taxonomy.vocabulary.collection_type.yml new file mode 100644 index 0000000..7ac59c3 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.collection_type.yml @@ -0,0 +1,10 @@ +uuid: 00ca6317-60c6-4498-b811-dcbaf230b0a4 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: NRvgGmvJBASvwlaRtyOhK0ur-e-b02hS5hSe89iTTrc +name: 'Collection type' +vid: collection_type +description: 'For categorizing collections on aspects unique to collections.' +weight: 0 diff --git a/config/sync/views.view.collection_select_content.yml b/config/sync/views.view.collection_select_content.yml new file mode 100644 index 0000000..b8c0b2b --- /dev/null +++ b/config/sync/views.view.collection_select_content.yml @@ -0,0 +1,409 @@ +uuid: 053b527d-5f36-4d83-93ec-345c5a08b3b6 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_summary + module: + - node + - text + - user +_core: + default_config_hash: v-S3QqIVn35UujN6yge8GibCgD3sPt76Ef-IyBL6zDU +id: collection_select_content +label: 'Select content' +module: views +description: 'Choose items to include in a Collection.' +tag: '' +base_table: node_field_data +base_field: nid +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: mini + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: ‹‹ + next: ›› + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + inline: { } + separator: '' + hide_empty: false + default_field_elements: true + fields: + title: + id: title + table: node_field_data + field: title + entity_type: node + entity_field: title + label: '' + alter: + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + settings: + link_to_entity: true + plugin_id: field + relationship: none + group_type: group + admin_label: '' + exclude: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_alter_empty: true + click_sort_column: value + type: string + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: kbd + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_label + settings: + link: false + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: type + plugin_id: field + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: em + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: custom + format_custom_true: '' + format_custom_false: Unpublished + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: status + plugin_id: field + field_summary: + id: field_summary + table: node__field_summary + field: field_summary + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: article + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field + filters: + status: + value: '1' + table: node_field_data + field: status + plugin_id: boolean + entity_type: node + entity_field: status + id: status + expose: + operator: '' + group: 1 + sorts: + created: + id: created + table: node_field_data + field: created + order: DESC + entity_type: node + entity_field: created + plugin_id: date + relationship: none + group_type: group + admin_label: '' + exposed: false + expose: + label: '' + granularity: second + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_summary' + entity_reference: + display_plugin: entity_reference + id: entity_reference + display_title: 'Entity Reference' + position: 1 + display_options: + display_extenders: { } + style: + type: entity_reference + options: + search_fields: + title: title + type: type + field_summary: field_summary + status: '0' + row: + type: entity_reference + options: + default_field_elements: true + inline: + title: title + type: type + status: status + separator: ' · ' + hide_empty: true + pager: + type: some + options: + items_per_page: 20 + offset: 0 + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_summary' From 9101b63c8609c4edb00299c0779b75f941cf1a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 12:59:48 -0400 Subject: [PATCH 08/11] Commit config snapshot --- ...config_sync.module.drutopia_collection.yml | 1191 +++++++++++++++++ 1 file changed, 1191 insertions(+) create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.drutopia_collection.yml diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_collection.yml b/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_collection.yml new file mode 100644 index 0000000..f0419fd --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_collection.yml @@ -0,0 +1,1191 @@ +uuid: ab288b9b-1f3c-455a-9fbd-dfb7fb604e2d +langcode: en +status: true +dependencies: + module: + - drutopia_collection +id: config_sync.module.drutopia_collection +snapshotSet: config_sync +extensionType: module +extensionName: drutopia_collection +items: + - + collection: '' + name: core.entity_form_display.node.collection.default + data: + langcode: en + status: true + dependencies: + config: + - field.field.node.collection.body + - field.field.node.collection.field_authors + - field.field.node.collection.field_collection_items + - field.field.node.collection.field_collection_type + - field.field.node.collection.field_image + - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_summary + - field.field.node.collection.field_tags + - field.field.node.collection.field_topics + - image.style.thumbnail + - node.type.collection + module: + - image + - metatag + - path + - text + id: node.collection.default + targetEntityType: node + bundle: collection + mode: default + content: + created: + type: datetime_timestamp + weight: 10 + region: content + settings: { } + third_party_settings: { } + field_authors: + weight: 4 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + field_collection_items: + weight: 5 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + field_collection_type: + weight: 1 + settings: { } + third_party_settings: { } + type: options_select + region: content + field_image: + weight: 3 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content + field_meta_tags: + weight: 7 + settings: { } + third_party_settings: { } + type: metatag_firehose + region: content + field_summary: + weight: 2 + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + type: text_textarea + region: content + field_tags: + weight: 15 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + field_topics: + weight: 14 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + path: + type: path + weight: 8 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + settings: + display_label: true + weight: 12 + region: content + third_party_settings: { } + status: + type: boolean_checkbox + settings: + display_label: true + weight: 13 + region: content + third_party_settings: { } + sticky: + type: boolean_checkbox + settings: + display_label: true + weight: 11 + region: content + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 6 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + region: content + third_party_settings: { } + url_redirects: + weight: 9 + region: content + settings: { } + third_party_settings: { } + hidden: + body: true + - + collection: '' + name: core.entity_view_display.node.collection.default + data: + langcode: en + status: true + dependencies: + config: + - field.field.node.collection.body + - field.field.node.collection.field_authors + - field.field.node.collection.field_collection_items + - field.field.node.collection.field_collection_type + - field.field.node.collection.field_image + - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_summary + - field.field.node.collection.field_tags + - field.field.node.collection.field_topics + - node.type.collection + module: + - ds + - image + - metatag + - text + - user + id: node.collection.default + targetEntityType: node + bundle: collection + mode: default + content: + body: + label: hidden + type: text_default + weight: 2 + settings: { } + third_party_settings: { } + region: content + field_authors: + weight: 5 + label: hidden + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + field_collection_items: + weight: 6 + label: hidden + settings: + view_mode: teaser + link: false + third_party_settings: + ds: + ds_limit: '' + type: entity_reference_entity_view + region: content + field_collection_type: + weight: 9 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + field_image: + weight: 3 + label: hidden + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + region: content + field_meta_tags: + weight: 4 + label: hidden + settings: { } + third_party_settings: { } + type: metatag_empty_formatter + region: content + field_summary: + weight: 1 + label: hidden + settings: { } + third_party_settings: { } + type: text_default + region: content + field_tags: + weight: 8 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + field_topics: + weight: 7 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content + links: + weight: 0 + region: content + settings: { } + third_party_settings: { } + hidden: + search_api_excerpt: true + - + collection: '' + name: core.entity_view_display.node.collection.full + data: + langcode: en + status: true + dependencies: + config: + - core.entity_view_mode.node.full + - field.field.node.collection.body + - field.field.node.collection.field_authors + - field.field.node.collection.field_collection_items + - field.field.node.collection.field_collection_type + - field.field.node.collection.field_image + - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_summary + - field.field.node.collection.field_tags + - field.field.node.collection.field_topics + - node.type.collection + module: + - ds + - image + - text + - user + third_party_settings: + ds: + layout: + id: ds_2col_stacked + library: ds/ds_2col_stacked + disable_css: true + entity_classes: all_classes + settings: + wrappers: + header: div + left: div + right: div + footer: div + outer_wrapper: div + attributes: '' + link_attribute: '' + link_custom: '' + classes: + layout_class: { } + regions: + header: + - field_image + left: + - node_post_date + - field_authors + - field_collection_type + - field_topics + - field_tags + right: + - field_summary + - field_collection_items + fields: + node_post_date: + plugin_id: node_post_date + weight: 1 + label: hidden + formatter: ds_post_date_month_day_year + id: node.collection.full + targetEntityType: node + bundle: collection + mode: full + content: + field_authors: + weight: 2 + label: hidden + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: left + field_collection_items: + weight: 7 + label: hidden + settings: + view_mode: teaser + link: false + third_party_settings: + ds: + ds_limit: '' + type: entity_reference_entity_view + region: right + field_collection_type: + type: entity_reference_label + weight: 3 + region: left + label: visually_hidden + settings: + link: false + third_party_settings: { } + field_image: + weight: 0 + label: hidden + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + region: header + field_summary: + weight: 6 + label: hidden + settings: { } + third_party_settings: { } + type: text_default + region: right + field_tags: + type: entity_reference_label + weight: 5 + region: left + label: hidden + settings: + link: true + third_party_settings: { } + field_topics: + type: entity_reference_label + weight: 4 + region: left + label: visually_hidden + settings: + link: true + third_party_settings: { } + hidden: + body: true + field_meta_tags: true + links: true + search_api_excerpt: true + - + collection: '' + name: core.entity_view_display.node.collection.teaser + data: + langcode: en + status: true + dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.collection.body + - node.type.collection + module: + - text + - user + id: node.collection.teaser + targetEntityType: node + bundle: collection + mode: teaser + content: + body: + label: hidden + type: text_summary_or_trimmed + weight: 101 + settings: + trim_length: 600 + third_party_settings: { } + region: content + links: + weight: 100 + settings: { } + third_party_settings: { } + region: content + hidden: + search_api_excerpt: true + - + collection: '' + name: field.field.node.collection.body + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.body + - node.type.collection + module: + - text + id: node.collection.body + field_name: body + entity_type: node + bundle: collection + label: Body + description: '' + required: false + translatable: true + default_value: { } + default_value_callback: '' + settings: + display_summary: true + field_type: text_with_summary + - + collection: '' + name: field.field.node.collection.field_authors + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_authors + - node.type.collection + - node.type.people + id: node.collection.field_authors + field_name: field_authors + entity_type: node + bundle: collection + label: Authors + description: 'Optionally attribute this collection to one or more of the People with profiles on the site.' + required: false + translatable: true + default_value: { } + default_value_callback: '' + settings: + handler: 'default:node' + handler_settings: + target_bundles: + people: people + sort: + field: title + direction: ASC + auto_create: false + auto_create_bundle: '' + field_type: entity_reference + - + collection: '' + name: field.field.node.collection.field_collection_items + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_collection_items + - node.type.collection + id: node.collection.field_collection_items + field_name: field_collection_items + entity_type: node + bundle: collection + label: Items + description: 'Select any other content on the site to display as a list of teasers by typing words from the title and looking for the autocompletion of the content you want in the collection. You can change the order after adding each item.' + required: true + translatable: false + default_value: { } + default_value_callback: '' + settings: + handler: views + handler_settings: + view: + view_name: collection_select_content + display_name: entity_reference + arguments: { } + field_type: entity_reference + - + collection: '' + name: field.field.node.collection.field_collection_type + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_collection_type + - node.type.collection + - taxonomy.vocabulary.collection_type + id: node.collection.field_collection_type + field_name: field_collection_type + entity_type: node + bundle: collection + label: 'Collection type' + description: '' + required: false + translatable: false + default_value: { } + default_value_callback: '' + settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + collection_type: collection_type + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' + field_type: entity_reference + - + collection: '' + name: field.field.node.collection.field_image + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_image + - node.type.collection + module: + - image + id: node.collection.field_image + field_name: field_image + entity_type: node + bundle: collection + label: Image + description: '' + required: false + translatable: true + 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 + - + collection: '' + name: field.field.node.collection.field_meta_tags + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_meta_tags + - node.type.collection + module: + - metatag + id: node.collection.field_meta_tags + field_name: field_meta_tags + entity_type: node + bundle: collection + label: 'Meta tags' + description: '' + required: false + translatable: true + default_value: { } + default_value_callback: '' + settings: { } + field_type: metatag + - + collection: '' + name: field.field.node.collection.field_summary + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_summary + - node.type.collection + module: + - text + id: node.collection.field_summary + field_name: field_summary + entity_type: node + bundle: collection + label: Summary + description: 'Use this space to introduce your collection with a short description. This summary is also> displayed on teasers, such as those shown in search results. ' + required: true + translatable: true + default_value: { } + default_value_callback: '' + settings: { } + field_type: text_long + - + collection: '' + name: field.field.node.collection.field_tags + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_tags + - node.type.collection + - taxonomy.vocabulary.tags + id: node.collection.field_tags + field_name: field_tags + entity_type: node + bundle: collection + label: Tags + description: '' + required: false + translatable: true + default_value: { } + default_value_callback: '' + settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + tags: tags + sort: + field: name + direction: asc + auto_create: true + auto_create_bundle: '' + field_type: entity_reference + - + collection: '' + name: field.field.node.collection.field_topics + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_topics + - node.type.collection + - taxonomy.vocabulary.topics + id: node.collection.field_topics + field_name: field_topics + entity_type: node + bundle: collection + label: Topics + description: '' + required: false + translatable: true + default_value: { } + default_value_callback: '' + settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + topics: topics + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' + field_type: entity_reference + - + collection: '' + name: field.storage.node.field_collection_items + data: + langcode: en + status: true + dependencies: + module: + - node + id: node.field_collection_items + field_name: field_collection_items + entity_type: node + type: entity_reference + settings: + target_type: node + module: core + locked: false + cardinality: -1 + translatable: true + indexes: { } + persist_with_no_fields: false + custom_storage: false + - + collection: '' + name: field.storage.node.field_collection_type + data: + langcode: en + status: true + dependencies: + module: + - node + - taxonomy + id: node.field_collection_type + field_name: field_collection_type + 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 + - + collection: '' + name: node.type.collection + data: + langcode: en + status: true + dependencies: + module: + - menu_ui + third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' + name: Collection + type: collection + description: 'Create a collection to bring together ordered listings of Articles, Blog posts, or other content. This is useful for magazine issues or online books (referencing each chapter) or to create a meta-resource of recommended resources and people.' + help: '' + new_revision: true + preview_mode: 1 + display_submitted: false + - + collection: '' + name: taxonomy.vocabulary.collection_type + data: + langcode: en + status: true + dependencies: { } + name: 'Collection type' + vid: collection_type + description: 'For categorizing collections on aspects unique to collections.' + weight: 0 + - + collection: '' + name: views.view.collection_select_content + data: + langcode: en + status: true + dependencies: + config: + - field.storage.node.field_summary + module: + - node + - text + - user + id: collection_select_content + label: 'Select content' + module: views + description: 'Choose items to include in a Collection.' + tag: '' + base_table: node_field_data + base_field: nid + core: 8.x + display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: mini + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: ‹‹ + next: ›› + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + inline: { } + separator: '' + hide_empty: false + default_field_elements: true + fields: + title: + id: title + table: node_field_data + field: title + entity_type: node + entity_field: title + label: '' + alter: + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + settings: + link_to_entity: true + plugin_id: field + relationship: none + group_type: group + admin_label: '' + exclude: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_alter_empty: true + click_sort_column: value + type: string + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: kbd + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '0' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_label + settings: + link: false + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: type + plugin_id: field + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: em + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: custom + format_custom_true: '' + format_custom_false: Unpublished + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: status + plugin_id: field + field_summary: + id: field_summary + table: node__field_summary + field: field_summary + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: article + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field + filters: + status: + value: '1' + table: node_field_data + field: status + plugin_id: boolean + entity_type: node + entity_field: status + id: status + expose: + operator: '' + group: 1 + sorts: + created: + id: created + table: node_field_data + field: created + order: DESC + entity_type: node + entity_field: created + plugin_id: date + relationship: none + group_type: group + admin_label: '' + exposed: false + expose: + label: '' + granularity: second + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_summary' + entity_reference: + display_plugin: entity_reference + id: entity_reference + display_title: 'Entity Reference' + position: 1 + display_options: + display_extenders: { } + style: + type: entity_reference + options: + search_fields: + title: title + type: type + field_summary: field_summary + status: '0' + row: + type: entity_reference + options: + default_field_elements: true + inline: + title: title + type: type + status: status + separator: ' · ' + hide_empty: true + pager: + type: some + options: + items_per_page: 20 + offset: 0 + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_summary' From 2bb78674617ec31927fcaa784bdf0adc9c79ecdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 13:18:31 -0400 Subject: [PATCH 09/11] Let's sort our requirements alphabetically going forward --- composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composer.json b/composer.json index 32c364d..4afba51 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,9 @@ "license": "GPL-2.0+", "minimum-stability": "dev", "prefer-stable": true, + "config": { + "sort-packages": true + }, "require": { "composer/installers": "^1.0", "drupal-composer/drupal-scaffold": "^2.0.0", From 55d80e6d939288ac447ff378aa40234d1e967621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 13:22:38 -0400 Subject: [PATCH 10/11] Get our new, slightly still-in-development Collection feature from source --- composer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4afba51..078f2c9 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "drupal/migrate_tools": "^4.1", "drupal/config_actions": "1.x-dev", "drupal/convert_bundles": "^1.0@alpha", - "drupal/drutopia_collection": "^1.0@alpha", + "drupal/drutopia_collection": "dev-8.x-1.x as 1.x-dev", "drupal/field_token_value": "^1.0", "drupal/link_attributes": "^1.9", "drupal/claro": "^1.0@alpha", @@ -33,6 +33,10 @@ "drutopia": { "type": "vcs", "url": "https://github.com/drutopia/drutopia" + }, + "drupal/drutopia_collection": { + "type": "git", + "url": "git@gitlab.com:drutopia/drutopia_collection.git" } }, "scripts": { From fc147e5c960ea35528859bf199027263e069de6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 30 Aug 2019 13:24:34 -0400 Subject: [PATCH 11/11] Update title on composer.json 'cause it's not a drutopia template anymore --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 078f2c9..b6a0c85 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { - "name": "drutopia/drutopia_template", - "description": "Template for composer-based Drutopia projects.", + "name": "agaric/sites/geo", + "description": "Drutopia-based site for the Grassroots Economic Organizing collective.", "type": "project", "license": "GPL-2.0+", "minimum-stability": "dev",