Skip to content

Commit 99ed27c

Browse files
committed
chore(#17): improve link checker and linkit, configure asymmetric translation
…ion for paragraphs
1 parent 95dc79d commit 99ed27c

10 files changed

+87
-17
lines changed

drupal/composer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"drupal/memcache": "2.3.0",
6868
"drupal/node_edit_protection": "1.0.0",
6969
"drupal/oembed_providers": "2.0.4",
70+
"drupal/paragraphs_asymmetric_translation_widgets": "^1.0",
7071
"drupal/paragraphs_ee": "2.0.3",
7172
"drupal/pathauto": "1.10.0",
7273
"drupal/permissions_filter": "1.2.0",
@@ -203,11 +204,21 @@
203204
"https://www.drupal.org/projectc/layout_paragraphs/issues/3214406#comment-14425196": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/70.diff",
204205
"https://www.drupal.org/project/layout_paragraphs/issues/3265794": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/84.diff"
205206
},
207+
"drupal/linkit": {
208+
"https://www.drupal.org/project/linkit/issues/3022261#comment-14257900": "https://www.drupal.org/files/issues/2021-10-15/3022261_linkit_add-better-support-for-linking-to-anchors_22.patch"
209+
},
206210
"drupal/metatag": {
207211
"https://www.drupal.org/project/metatag/issues/2945817#comment-14420231": "https://www.drupal.org/files/issues/2022-02-21/metatag-n2945817-143.patch"
208212
},
209213
"drupal/node_edit_protection": {
210214
"Triggers if button used instead of input https://www.drupal.org/project/node_edit_protection/issues/3208719": "./patch/3208719.diff"
215+
},
216+
"drupal/paragraphs": {
217+
"https://www.drupal.org/project/paragraphs/issues/2904705#comment-13918715": "https://www.drupal.org/files/issues/2020-11-27/paragraphs_support_asym_translations-2904705-122.patch"
218+
},
219+
"drupal/paragraphs_asymmetric_translation_widgets": {
220+
"https://www.drupal.org/project/paragraphs_asymmetric_translation_widgets/issues/3175491#comment-13891174": "https://www.drupal.org/files/issues/2020-11-03/3175491-2.patch",
221+
"https://www.drupal.org/project/paragraphs_asymmetric_translation_widgets/issues/3180118#comment-14188544": "https://www.drupal.org/files/issues/2021-08-12/3180118-7.patch"
211222
}
212223
}
213224
}

drupal/composer.lock

Lines changed: 62 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

drupal/config/sync/core.extension.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ module:
9898
oembed_providers: 0
9999
options: 0
100100
page_cache: 0
101+
paragraphs_asymmetric_translation_widgets: 0
101102
paragraphs_features: 0
102103
paragraphs_library: 0
103104
paragraphs_type_permissions: 0

drupal/config/sync/field.field.node.article.field_content.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bundle: article
2121
label: Content
2222
description: 'Items added will display in the primary content region of the page.'
2323
required: false
24-
translatable: false
24+
translatable: true
2525
default_value: { }
2626
default_value_callback: ''
2727
settings:
@@ -52,9 +52,6 @@ settings:
5252
jumbotron:
5353
weight: -17
5454
enabled: true
55-
layout:
56-
weight: 17
57-
enabled: false
5855
link:
5956
weight: -16
6057
enabled: true

drupal/config/sync/field.field.node.event.field_content.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ settings:
5252
jumbotron:
5353
weight: -18
5454
enabled: true
55-
layout:
56-
weight: 17
57-
enabled: false
5855
link:
5956
weight: -17
6057
enabled: true

drupal/config/sync/field.field.node.page.field_content.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ bundle: page
2222
label: Content
2323
description: 'Items added will display in the primary content region of the page.'
2424
required: false
25-
translatable: false
25+
translatable: true
2626
default_value: { }
2727
default_value_callback: ''
2828
settings:
@@ -54,9 +54,6 @@ settings:
5454
jumbotron:
5555
weight: -18
5656
enabled: true
57-
layout:
58-
weight: 17
59-
enabled: false
6057
link:
6158
weight: -17
6259
enabled: true

drupal/config/sync/field.field.paragraph.card.field_link.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,7 @@ settings:
212212
oauth2_scope:
213213
handler: 'default:oauth2_scope'
214214
handler_settings: { }
215+
linkit_profile:
216+
handler: 'default:linkit_profile'
217+
handler_settings: { }
215218
field_type: dynamic_entity_reference

drupal/config/sync/field.field.paragraph.link.field_link.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,7 @@ settings:
212212
oauth2_scope:
213213
handler: 'default:oauth2_scope'
214214
handler_settings: { }
215+
linkit_profile:
216+
handler: 'default:linkit_profile'
217+
handler_settings: { }
215218
field_type: dynamic_entity_reference

drupal/config/sync/linkit.linkit_profile.default.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ dependencies:
66
- node
77
_core:
88
default_config_hash: Tt8DtxZ3Nooo0PoWPpJvszA3R_5d8MmpUW7LM_R-BzY
9-
id: default
109
label: Default
10+
id: default
1111
description: 'A default Linkit profile'
1212
matchers:
1313
556010a3-e317-48b3-b4ed-854c10f4b950:
14-
uuid: 556010a3-e317-48b3-b4ed-854c10f4b950
1514
id: 'entity:node'
16-
weight: 0
15+
uuid: 556010a3-e317-48b3-b4ed-854c10f4b950
1716
settings:
1817
metadata: 'by [node:author] | [node:created:medium]'
1918
bundles: { }
2019
group_by_bundle: false
21-
include_unpublished: false
2220
substitution_type: canonical
2321
limit: 100
22+
include_unpublished: false
23+
weight: 0

drupal/config/sync/linkychecker.settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
_core:
22
default_config_hash: T4Uf6khas7E18kR1ayjXxHEteU-QjAHGlTjgK28WqoQ
3-
user_agent: 'Drupal 8 Linkychecker'
3+
user_agent: 'Drupal Linkychecker'
44
crawl_interval: 604800
55
crawl_per_job: 5
66
enable_cron: true

0 commit comments

Comments
 (0)