Skip to content

Commit 287f5c0

Browse files
author
David Ferlay
authored
Merge pull request #256 from davidferlay/panelslb
Adding Claro patch and updated page_manager layouts to Layout Builder
2 parents 84892e8 + fa95d40 commit 287f5c0

20 files changed

+503
-156
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@
115115
"POST /quickedit/metadata returning HTTP 503": "https://www.drupal.org/files/issues/2020-01-09/2893407-39.patch",
116116
"Claro Modal dialog style update": "https://www.drupal.org/files/issues/2020-05-19/3023311-93.patch",
117117
"Claro Media and media library": "https://www.drupal.org/files/issues/2020-03-30/media-and-media-library-3062751-18.patch",
118-
"Callers of LayoutEntityHelperTrait::getEntitySections() do not account for the view mode": "https://www.drupal.org/files/issues/2019-06-20/3008924-5.patch"
118+
"Callers of LayoutEntityHelperTrait::getEntitySections() do not account for the view mode": "https://www.drupal.org/files/issues/2019-06-20/3008924-5.patch",
119+
"Claro + layout builder messages display additional icon in top left corner": "https://www.drupal.org/files/issues/2020-05-28/claro_layout_builder_extra_icon-3143237-4.patch"
119120
},
120121
"drush/drush": {
121122
"Import multiple custom translation po files": "https://patch-diff.githubusercontent.com/raw/drush-ops/drush/pull/4251.patch"

web/profiles/sdd/config/install/core.entity_form_display.node.basic_page.default.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ content:
2727
form_display_mode: default
2828
default_paragraph_type: _none
2929
features:
30-
duplicate: duplicate
31-
collapse_edit_all: collapse_edit_all
3230
add_above: '0'
31+
collapse_edit_all: collapse_edit_all
32+
duplicate: duplicate
3333
third_party_settings: { }
3434
region: content
3535
created:

web/profiles/sdd/config/install/core.entity_view_display.media.audio.default.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,41 @@ dependencies:
66
- media.type.audio
77
module:
88
- file
9+
- layout_builder
10+
- layout_discovery
11+
- layout_library
12+
third_party_settings:
13+
layout_builder:
14+
allow_custom: false
15+
enabled: true
16+
sections:
17+
-
18+
layout_id: layout_onecol
19+
layout_settings:
20+
label: ''
21+
components:
22+
0adecde5-66dc-4d9a-9afc-e3b1ef442918:
23+
uuid: 0adecde5-66dc-4d9a-9afc-e3b1ef442918
24+
region: content
25+
configuration:
26+
label_display: '0'
27+
context_mapping:
28+
entity: layout_builder.entity
29+
id: 'field_block:media:audio:field_media_audio_file'
30+
formatter:
31+
type: file_audio
32+
label: visually_hidden
33+
settings:
34+
controls: true
35+
autoplay: false
36+
loop: false
37+
multiple_file_display_type: tags
38+
third_party_settings: { }
39+
additional: { }
40+
weight: 0
41+
third_party_settings: { }
42+
layout_library:
43+
enable: false
944
id: media.audio.default
1045
targetEntityType: media
1146
bundle: audio

web/profiles/sdd/config/install/core.entity_view_display.media.audio.full.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,41 @@ dependencies:
77
- media.type.audio
88
module:
99
- file
10+
- layout_builder
11+
- layout_discovery
12+
- layout_library
13+
third_party_settings:
14+
layout_builder:
15+
allow_custom: false
16+
enabled: true
17+
sections:
18+
-
19+
layout_id: layout_onecol
20+
layout_settings:
21+
label: ''
22+
components:
23+
81f29153-3d0b-43a0-ab08-8e5d174c765e:
24+
uuid: 81f29153-3d0b-43a0-ab08-8e5d174c765e
25+
region: content
26+
configuration:
27+
label_display: '0'
28+
context_mapping:
29+
entity: layout_builder.entity
30+
id: 'field_block:media:audio:field_media_audio_file'
31+
formatter:
32+
type: file_audio
33+
label: visually_hidden
34+
settings:
35+
controls: true
36+
multiple_file_display_type: tags
37+
autoplay: false
38+
loop: false
39+
third_party_settings: { }
40+
additional: { }
41+
weight: 0
42+
third_party_settings: { }
43+
layout_library:
44+
enable: false
1045
id: media.audio.full
1146
targetEntityType: media
1247
bundle: audio

web/profiles/sdd/config/install/core.entity_view_display.media.document.default.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,38 @@ dependencies:
66
- media.type.document
77
module:
88
- file
9+
- layout_builder
10+
- layout_discovery
11+
- layout_library
12+
third_party_settings:
13+
layout_builder:
14+
allow_custom: false
15+
enabled: true
16+
sections:
17+
-
18+
layout_id: layout_onecol
19+
layout_settings:
20+
label: ''
21+
components:
22+
eff2032f-be90-4c11-8bf2-dbc6cb4e89e1:
23+
uuid: eff2032f-be90-4c11-8bf2-dbc6cb4e89e1
24+
region: content
25+
configuration:
26+
label_display: '0'
27+
context_mapping:
28+
entity: layout_builder.entity
29+
id: 'field_block:media:document:field_media_document'
30+
formatter:
31+
label: visually_hidden
32+
settings:
33+
use_description_as_link_text: false
34+
third_party_settings: { }
35+
type: file_default
36+
additional: { }
37+
weight: 0
38+
third_party_settings: { }
39+
layout_library:
40+
enable: false
941
id: media.document.default
1042
targetEntityType: media
1143
bundle: document

web/profiles/sdd/config/install/core.entity_view_display.media.document.full.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,38 @@ dependencies:
77
- media.type.document
88
module:
99
- file
10+
- layout_builder
11+
- layout_discovery
12+
- layout_library
13+
third_party_settings:
14+
layout_builder:
15+
allow_custom: false
16+
enabled: true
17+
sections:
18+
-
19+
layout_id: layout_onecol
20+
layout_settings:
21+
label: ''
22+
components:
23+
56fa3e5a-1baf-4744-9af4-ac7132e6ba36:
24+
uuid: 56fa3e5a-1baf-4744-9af4-ac7132e6ba36
25+
region: content
26+
configuration:
27+
label_display: '0'
28+
context_mapping:
29+
entity: layout_builder.entity
30+
id: 'field_block:media:document:field_media_document'
31+
formatter:
32+
label: visually_hidden
33+
settings:
34+
use_description_as_link_text: false
35+
third_party_settings: { }
36+
type: file_default
37+
additional: { }
38+
weight: 0
39+
third_party_settings: { }
40+
layout_library:
41+
enable: false
1042
id: media.document.full
1143
targetEntityType: media
1244
bundle: document

web/profiles/sdd/config/install/core.entity_view_display.media.image.default.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,44 @@ dependencies:
66
- image.style.large
77
- media.type.image
88
module:
9+
- layout_builder
10+
- layout_discovery
11+
- layout_library
912
- svg_image
13+
third_party_settings:
14+
layout_builder:
15+
allow_custom: false
16+
enabled: true
17+
sections:
18+
-
19+
layout_id: layout_onecol
20+
layout_settings:
21+
label: ''
22+
components:
23+
094b779d-9859-43cc-ab21-5f6cdda305df:
24+
uuid: 094b779d-9859-43cc-ab21-5f6cdda305df
25+
region: content
26+
configuration:
27+
label_display: '0'
28+
context_mapping:
29+
entity: layout_builder.entity
30+
id: 'field_block:media:image:field_media_image'
31+
formatter:
32+
label: visually_hidden
33+
settings:
34+
image_style: large
35+
image_link: ''
36+
svg_render_as_image: true
37+
svg_attributes:
38+
width: null
39+
height: null
40+
third_party_settings: { }
41+
type: image
42+
additional: { }
43+
weight: 0
44+
third_party_settings: { }
45+
layout_library:
46+
enable: false
1047
id: media.image.default
1148
targetEntityType: media
1249
bundle: image

web/profiles/sdd/config/install/core.entity_view_display.media.image.full.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,44 @@ dependencies:
66
- field.field.media.image.field_media_image
77
- media.type.image
88
module:
9+
- layout_builder
10+
- layout_discovery
11+
- layout_library
912
- svg_image
13+
third_party_settings:
14+
layout_builder:
15+
allow_custom: false
16+
enabled: true
17+
sections:
18+
-
19+
layout_id: layout_onecol
20+
layout_settings:
21+
label: ''
22+
components:
23+
931007da-aeb6-4acd-8c36-f85d0fcd06ec:
24+
uuid: 931007da-aeb6-4acd-8c36-f85d0fcd06ec
25+
region: content
26+
configuration:
27+
label_display: '0'
28+
context_mapping:
29+
entity: layout_builder.entity
30+
id: 'field_block:media:image:field_media_image'
31+
formatter:
32+
label: visually_hidden
33+
settings:
34+
image_style: ''
35+
image_link: ''
36+
svg_render_as_image: true
37+
svg_attributes:
38+
width: null
39+
height: null
40+
third_party_settings: { }
41+
type: image
42+
additional: { }
43+
weight: 0
44+
third_party_settings: { }
45+
layout_library:
46+
enable: false
1047
id: media.image.full
1148
targetEntityType: media
1249
bundle: image

web/profiles/sdd/config/install/core.entity_view_display.media.remote_video.default.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,40 @@ dependencies:
55
- field.field.media.remote_video.field_media_oembed_video
66
- media.type.remote_video
77
module:
8+
- layout_builder
9+
- layout_discovery
10+
- layout_library
811
- media
12+
third_party_settings:
13+
layout_builder:
14+
allow_custom: false
15+
enabled: true
16+
sections:
17+
-
18+
layout_id: layout_onecol
19+
layout_settings:
20+
label: ''
21+
components:
22+
cb354073-03f6-422d-b0f3-0caa640c3dda:
23+
uuid: cb354073-03f6-422d-b0f3-0caa640c3dda
24+
region: content
25+
configuration:
26+
label_display: '0'
27+
context_mapping:
28+
entity: layout_builder.entity
29+
id: 'field_block:media:remote_video:field_media_oembed_video'
30+
formatter:
31+
type: oembed
32+
label: hidden
33+
settings:
34+
max_width: 640
35+
max_height: 360
36+
third_party_settings: { }
37+
additional: { }
38+
weight: 0
39+
third_party_settings: { }
40+
layout_library:
41+
enable: false
942
id: media.remote_video.default
1043
targetEntityType: media
1144
bundle: remote_video

web/profiles/sdd/config/install/core.entity_view_display.media.remote_video.full.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,40 @@ dependencies:
66
- field.field.media.remote_video.field_media_oembed_video
77
- media.type.remote_video
88
module:
9+
- layout_builder
10+
- layout_discovery
11+
- layout_library
912
- media
13+
third_party_settings:
14+
layout_builder:
15+
allow_custom: false
16+
enabled: true
17+
sections:
18+
-
19+
layout_id: layout_onecol
20+
layout_settings:
21+
label: ''
22+
components:
23+
20895f8a-1509-4ab0-aac3-998843a2c1ef:
24+
uuid: 20895f8a-1509-4ab0-aac3-998843a2c1ef
25+
region: content
26+
configuration:
27+
label_display: '0'
28+
context_mapping:
29+
entity: layout_builder.entity
30+
id: 'field_block:media:remote_video:field_media_oembed_video'
31+
formatter:
32+
type: oembed
33+
label: hidden
34+
settings:
35+
max_width: 640
36+
max_height: 360
37+
third_party_settings: { }
38+
additional: { }
39+
weight: 0
40+
third_party_settings: { }
41+
layout_library:
42+
enable: false
1043
id: media.remote_video.full
1144
targetEntityType: media
1245
bundle: remote_video

0 commit comments

Comments
 (0)