FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • uis/devops/webcms/2023-platform/cambridge-drupal-platform
1 result
Show changes
Commits on Source (26)
Showing
with 12 additions and 930 deletions
......@@ -122,10 +122,6 @@ create-or-update-multidev:
terminus drush $PATHEON_SITE.$MULTIDEV_NAME -- site-install --existing-config --site-name=cwp -y | grep -v "password"
terminus drush $PATHEON_SITE.$MULTIDEV_NAME -- php-eval "node_access_rebuild();"
terminus drush $PATHEON_SITE.$MULTIDEV_NAME -- cron
else
echo "** This is an update of existing site $MULTIDEV_NAME. Running drush update and config imports **"
terminus drush $PATHEON_SITE.$MULTIDEV_NAME -- updb -y
terminus drush $PATHEON_SITE.$MULTIDEV_NAME -- cim -vvv -y
fi
echo "** Receiving information about the environment **"
......@@ -181,16 +177,12 @@ update-dev:
terminus upstream:updates:status $PATHEON_SITE.dev
echo "** Updating upstream for dev environment of site $PATHEON_SITE **"
terminus upstream:updates:apply $PATHEON_SITE.dev
terminus upstream:updates:apply $PATHEON_SITE.dev --accept-upstream
echo "** Adding ssh-key for drush commands to work as expected **"
eval "$(ssh-agent -s)"
ssh-add /tmp/ssh-key
echo "** Running drush update and config imports **"
terminus drush $PATHEON_SITE.dev -- updb -y
terminus drush $PATHEON_SITE.dev -- cim -y
echo "** Receiving information about the environment **"
DEV_DOMAIN=$(terminus env:info $PATHEON_SITE.dev --field=domain)
echo "** Environment is available, url is $DEV_DOMAIN **"
......
......@@ -40,9 +40,15 @@ ddev rebuild-drupal
This project uses a custom upstream: https://docs.pantheon.io/guides/custom-upstream/manage-dependencies-custom-upstream
As such, the composer depdendencies are managed within `upstream-configuration/composer.json`
As such, the composer depdendencies are managed within `upstream-configuration/composer.json` and `upstream-configuration/composer.lock`
To add new dependencies, you must use `composer upstream-require drupal/pkg-name` instead of `composer require`
### Add new dependency
```ddev composer --working-dir=upstream-configuration require drupal/xxxx```
### Remove existing dependency
```ddev composer --working-dir=upstream-configuration remove drupal/xxx```
**IMPORTANT: composer.lock should not be added to git**
......
......@@ -64,6 +64,9 @@
},
"enable-patching": true,
"patches": {
"drupal/core": {
"/filter/tips page has no access control (accessible by anonymouse users)": "patches/filter-tips-anonymous-users.patch"
},
"drupal/sdc_display": {
"Entity view alter removes needed properties from build array": "https://git.drupalcode.org/project/sdc_display/-/merge_requests/13.diff"
},
......
uuid: 3dd03d28-1971-4e36-ad3c-4c513d3968d4
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
uuid: c04ab1a1-1f40-40f4-ae53-323f9b8ba489
langcode: en
status: true
dependencies:
config:
- field.field.node.landing_page.body
- field.field.node.landing_page.field_page_summary
- field.field.node.landing_page.field_paragraph
- node.type.landing_page
module:
- layout_paragraphs
- maxlength
- path
- text
_core:
default_config_hash: VfYDtGJc5S0IBPbkJcO_8vV8JqD8DP7EVM7rb5_sDJQ
id: node.landing_page.default
targetEntityType: node
bundle: landing_page
mode: default
content:
body:
type: text_textarea_with_summary
weight: 9
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 3
region: content
settings: { }
third_party_settings: { }
field_page_summary:
type: string_textarea
weight: 1
region: content
settings:
rows: 2
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 160
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
field_paragraph:
type: layout_paragraphs
weight: 10
region: content
settings:
preview_view_mode: default
nesting_depth: 0
require_layouts: 0
empty_message: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 6
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 100
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 60
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
uid:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 7
region: content
settings: { }
third_party_settings: { }
hidden: { }
uuid: 75b147cf-a8fd-4235-bfdf-5c2af5aff38b
langcode: en-gb
status: true
dependencies:
config:
- field.field.node.news_article.body
- field.field.node.news_article.field_content_items
- field.field.node.news_article.field_paragraph
- field.field.node.news_article.field_sidebar_items
- field.field.node.news_article.field_subject_ref
- node.type.news_article
module:
- paragraphs
- paragraphs_ee
- paragraphs_features
- path
_core:
default_config_hash: np0ScElI4mwdlI8sj5--A46aaYyXvNKdMCarq0o2Tvw
id: node.news_article.default
targetEntityType: node
bundle: news_article
mode: default
content:
created:
type: datetime_timestamp
weight: 7
region: content
settings: { }
third_party_settings: { }
field_paragraph:
type: paragraphs
weight: 3
region: content
settings:
title: component
title_plural: components
edit_mode: closed
closed_mode: preview
autocollapse: none
closed_mode_threshold: 0
add_mode: modal
form_display_mode: default
default_paragraph_type: _none
features:
add_above: add_above
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings:
paragraphs_features:
add_in_between: true
add_in_between_link_count: 0
delete_confirmation: true
show_drag_and_drop: true
show_collapse_all: true
paragraphs_ee:
paragraphs_ee:
dialog_off_canvas: false
dialog_style: tiles
field_related_links:
type: link_default
weight: -2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_sidebar_items:
type: paragraphs
weight: 5
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: closed
closed_mode: preview
autocollapse: none
closed_mode_threshold: 0
add_mode: modal
form_display_mode: default
default_paragraph_type: _none
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings:
paragraphs_features:
add_in_between: true
add_in_between_link_count: 0
delete_confirmation: false
show_drag_and_drop: true
show_collapse_all: true
paragraphs_ee:
paragraphs_ee:
dialog_off_canvas: false
dialog_style: tiles
drag_drop: false
field_subject_ref:
type: options_buttons
weight: 6
region: content
settings: { }
third_party_settings: { }
langcode:
type: language_select
weight: 1
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 10
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 12
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
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
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 11
region: content
settings: { }
third_party_settings: { }
hidden:
body: true
field_content_items: true
......@@ -8,7 +8,6 @@ dependencies:
- field.field.node.page.field_metatags
- field.field.node.page.field_page_summary
- field.field.node.page.field_paragraph
- field.field.node.page.field_sidebar_items
- field.field.node.page.field_subject_ref
- field.field.node.page.field_top_content
- node.type.page
......@@ -190,6 +189,5 @@ hidden:
body: true
field_access_control: true
field_bottom_paragraphs: true
field_sidebar_items: true
field_subject_ref: true
field_top_content: true
uuid: eaca1267-0427-4da1-b78f-1c31491c0a02
langcode: en-gb
status: true
dependencies:
config:
- field.field.node.top_level_page.field_description
- field.field.node.top_level_page.field_page_summary
- field.field.node.top_level_page.field_paragraph
- node.type.top_level_page
module:
- maxlength
- paragraphs
- paragraphs_ee
- paragraphs_features
- path
_core:
default_config_hash: '-OzwGydBPQ65QdrM4G8ysqov3punLtAKKhg0CyNNcvs'
id: node.top_level_page.default
targetEntityType: node
bundle: top_level_page
mode: default
content:
created:
type: datetime_timestamp
weight: 4
region: content
settings: { }
third_party_settings: { }
field_description:
type: string_textarea
weight: 2
region: content
settings:
rows: 2
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 150
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: true
field_page_summary:
type: string_textarea
weight: 1
region: content
settings:
rows: 2
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 160
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
field_paragraph:
type: paragraphs
weight: 5
region: content
settings:
title: component
title_plural: components
edit_mode: closed
closed_mode: preview
autocollapse: none
closed_mode_threshold: 0
add_mode: modal
form_display_mode: default
default_paragraph_type: _none
features:
add_above: add_above
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings:
paragraphs_features:
add_in_between: true
add_in_between_link_count: 0
delete_confirmation: true
show_drag_and_drop: true
show_collapse_all: true
paragraphs_ee:
paragraphs_ee:
dialog_off_canvas: false
dialog_style: tiles
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 8
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 60
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: true
uid:
type: entity_reference_autocomplete
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 9
region: content
settings: { }
third_party_settings: { }
hidden: { }
uuid: cb86518d-d768-48bb-b811-5b59a90a4f0a
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.accordion.field_card
- field.field.paragraph.accordion.field_heading
- field.field.paragraph.accordion.field_sub_heading
- paragraphs.paragraphs_type.accordion
module:
- maxlength
- paragraphs
_core:
default_config_hash: hMyo8CJs0ZlMP8bHsU2SNPfay8slByqNW94aaPhXegs
id: paragraph.accordion.default
targetEntityType: paragraph
bundle: accordion
mode: default
content:
field_card:
type: paragraphs
weight: 2
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: closed
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: card
features:
add_above: '0'
collapse_edit_all: '0'
convert: '0'
duplicate: duplicate
third_party_settings: { }
field_heading:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 60
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: true
field_sub_heading:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 60
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: true
hidden:
created: true
status: true
uuid: 7a477c6e-df48-4475-9f6f-a0949063bce9
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.basic_limited.field_text
- paragraphs.paragraphs_type.basic_limited
module:
- text
_core:
default_config_hash: gbvfgPpWB21K79IMpG8SpyffUAKJh_gW27aLgiNNgFc
id: paragraph.basic_limited.default
targetEntityType: paragraph
bundle: basic_limited
mode: default
content:
field_text:
type: text_textarea
weight: 0
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
uuid: 1cb5a670-f759-4584-bc8c-68e8b089bbcc
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.content_teaser.field_paragraph_content_ref
- paragraphs.paragraphs_type.content_teaser
_core:
default_config_hash: PpcfVnTwvQDSzT0L9nsvJKuK7SHKd4XfMcN6XRlkKnc
id: paragraph.content_teaser.default
targetEntityType: paragraph
bundle: content_teaser
mode: default
content:
field_paragraph_content_ref:
type: options_select
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
uuid: 3138b97b-339e-4318-8830-aad8e3a265e1
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.document_list.field_paragraph_document_ref
- field.field.paragraph.document_list.field_paragraph_heading
- field.field.paragraph.document_list.field_paragraph_text_content
- paragraphs.paragraphs_type.document_list
module:
- text
_core:
default_config_hash: ZkDzFkqtpXjfP6S3Cf_VkBnA2J8DBtfRnrilPy9Inl8
id: paragraph.document_list.default
targetEntityType: paragraph
bundle: document_list
mode: default
content:
field_paragraph_document_ref:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_paragraph_heading:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_paragraph_text_content:
type: text_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
uuid: f5112c15-89bb-4bde-91fe-8c576fa4e347
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.embedded_link.field_paragraph_heading
- field.field.paragraph.embedded_link.field_paragraph_media_link
- paragraphs.paragraphs_type.embedded_link
module:
- media_library
_core:
default_config_hash: LSiwzx651Ynr5NzgaT2t1robsDBPbs_SybH1thGgrrM
id: paragraph.embedded_link.default
targetEntityType: paragraph
bundle: embedded_link
mode: default
content:
field_paragraph_heading:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_paragraph_media_link:
type: media_library_widget
weight: 3
region: content
settings:
media_types: { }
third_party_settings: { }
hidden:
created: true
status: true
uuid: 03c41317-9f7b-468d-8bbb-48d2565b0d62
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.image.field_image
- image.style.thumbnail
- paragraphs.paragraphs_type.image
module:
- image
_core:
default_config_hash: rxwZVpnt_0po6dx93aC_DCW-DxlL4lhljzbd_34cU5g
id: paragraph.image.default
targetEntityType: paragraph
bundle: image
mode: default
content:
field_image:
type: image_image
weight: 0
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
hidden:
created: true
status: true
uuid: 9f143241-97b9-4449-93bb-db6b0e299b3e
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.image_link.field_paragraph_heading
- field.field.paragraph.image_link.field_paragraph_image
- field.field.paragraph.image_link.field_paragraph_image_caption
- field.field.paragraph.image_link.field_paragraph_url
- paragraphs.paragraphs_type.image_link
module:
- link
- media_library
_core:
default_config_hash: Ux9CvIrbA_4Xlzul-MPlA4GjVlUpRPGUJGGsxIgN500
id: paragraph.image_link.default
targetEntityType: paragraph
bundle: image_link
mode: default
content:
field_paragraph_heading:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_paragraph_image:
type: media_library_widget
weight: 1
region: content
settings:
media_types: { }
third_party_settings: { }
field_paragraph_image_caption:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_paragraph_url:
type: link_default
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
hidden:
created: true
status: true
uuid: 1371465f-0d22-4f32-b642-348cb710daaa
langcode: en
status: true
dependencies:
config:
- paragraphs.paragraphs_type.layout
_core:
default_config_hash: v1jbgTkJzvM9L2ehX5ZYKpboc9oYfLsWJhw13Q7-jZk
id: paragraph.layout.default
targetEntityType: paragraph
bundle: layout
mode: default
content:
layout_paragraphs_fields:
weight: -200
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
uuid: dc18bbf5-4247-4707-a874-24987ee05703
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.link_block.field_paragraph_heading
- field.field.paragraph.link_block.field_paragraph_links
- paragraphs.paragraphs_type.link_block
module:
- link
_core:
default_config_hash: gH2i0lIAcTZQ1IgPgBR1YA1dtNLCS3RA1Kgu-LOL0NY
id: paragraph.link_block.default
targetEntityType: paragraph
bundle: link_block
mode: default
content:
field_paragraph_heading:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_paragraph_links:
type: link_default
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
hidden:
created: true
status: true
uuid: cea00295-b474-4781-a427-bfec58d05b5f
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.page_item.field_item_body
- field.field.paragraph.page_item.field_item_title
- paragraphs.paragraphs_type.page_item
module:
- text
_core:
default_config_hash: ikvaash3hj6QA9ov7DLo7MQVRqTpxTIKzbjd9lmT4mE
id: paragraph.page_item.default
targetEntityType: paragraph
bundle: page_item
mode: default
content:
field_item_body:
type: text_textarea
weight: 32
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_item_title:
type: string_textfield
weight: 31
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
uuid: 97d67360-88e6-4d9f-b5eb-cc72784b8c81
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.promo_block.field_paragraph_heading
- field.field.paragraph.promo_block.field_paragraph_image
- field.field.paragraph.promo_block.field_paragraph_text_content
- field.field.paragraph.promo_block.field_paragraph_url
- paragraphs.paragraphs_type.promo_block
module:
- link
- media_library
- text
_core:
default_config_hash: v1y3YWDcwEhVlBjZV33ZeL9RqAnxNUf56tQTe8gZoq8
id: paragraph.promo_block.default
targetEntityType: paragraph
bundle: promo_block
mode: default
content:
field_paragraph_heading:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_paragraph_image:
type: media_library_widget
weight: 2
region: content
settings:
media_types: { }
third_party_settings: { }
field_paragraph_text_content:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_paragraph_url:
type: link_default
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
hidden:
created: true
status: true
uuid: 215d74a5-3a20-409b-9a8d-76eff08c4ea8
langcode: en-gb
status: true
dependencies:
config:
- field.field.paragraph.questions_and_answers.field_answer
- field.field.paragraph.questions_and_answers.field_question
- paragraphs.paragraphs_type.questions_and_answers
module:
- text
_core:
default_config_hash: ND1DrXJX9VwQbGKPnsdTVGJEgASPEihSGQzKYCkBRoc
id: paragraph.questions_and_answers.default
targetEntityType: paragraph
bundle: questions_and_answers
mode: default
content:
field_answer:
type: text_textarea
weight: 32
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_question:
type: string_textfield
weight: 31
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true