Skip to content

Commit

Permalink
chore(#17): improve link checker and linkit, configure asymmetric tra…
Browse files Browse the repository at this point in the history
…nslation

…ion for paragraphs
  • Loading branch information
BrianGilbert committed Jun 28, 2022
1 parent 95dc79d commit 99ed27c
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 17 deletions.
11 changes: 11 additions & 0 deletions drupal/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"drupal/memcache": "2.3.0",
"drupal/node_edit_protection": "1.0.0",
"drupal/oembed_providers": "2.0.4",
"drupal/paragraphs_asymmetric_translation_widgets": "^1.0",
"drupal/paragraphs_ee": "2.0.3",
"drupal/pathauto": "1.10.0",
"drupal/permissions_filter": "1.2.0",
Expand Down Expand Up @@ -203,11 +204,21 @@
"https://www.drupal.org/projectc/layout_paragraphs/issues/3214406#comment-14425196": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/70.diff",
"https://www.drupal.org/project/layout_paragraphs/issues/3265794": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/84.diff"
},
"drupal/linkit": {
"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"
},
"drupal/metatag": {
"https://www.drupal.org/project/metatag/issues/2945817#comment-14420231": "https://www.drupal.org/files/issues/2022-02-21/metatag-n2945817-143.patch"
},
"drupal/node_edit_protection": {
"Triggers if button used instead of input https://www.drupal.org/project/node_edit_protection/issues/3208719": "./patch/3208719.diff"
},
"drupal/paragraphs": {
"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"
},
"drupal/paragraphs_asymmetric_translation_widgets": {
"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",
"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"
}
}
}
Expand Down
63 changes: 62 additions & 1 deletion drupal/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions drupal/config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ module:
oembed_providers: 0
options: 0
page_cache: 0
paragraphs_asymmetric_translation_widgets: 0
paragraphs_features: 0
paragraphs_library: 0
paragraphs_type_permissions: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ bundle: article
label: Content
description: 'Items added will display in the primary content region of the page.'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
Expand Down Expand Up @@ -52,9 +52,6 @@ settings:
jumbotron:
weight: -17
enabled: true
layout:
weight: 17
enabled: false
link:
weight: -16
enabled: true
Expand Down
3 changes: 0 additions & 3 deletions drupal/config/sync/field.field.node.event.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ settings:
jumbotron:
weight: -18
enabled: true
layout:
weight: 17
enabled: false
link:
weight: -17
enabled: true
Expand Down
5 changes: 1 addition & 4 deletions drupal/config/sync/field.field.node.page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bundle: page
label: Content
description: 'Items added will display in the primary content region of the page.'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
Expand Down Expand Up @@ -54,9 +54,6 @@ settings:
jumbotron:
weight: -18
enabled: true
layout:
weight: 17
enabled: false
link:
weight: -17
enabled: true
Expand Down
3 changes: 3 additions & 0 deletions drupal/config/sync/field.field.paragraph.card.field_link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,7 @@ settings:
oauth2_scope:
handler: 'default:oauth2_scope'
handler_settings: { }
linkit_profile:
handler: 'default:linkit_profile'
handler_settings: { }
field_type: dynamic_entity_reference
3 changes: 3 additions & 0 deletions drupal/config/sync/field.field.paragraph.link.field_link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,7 @@ settings:
oauth2_scope:
handler: 'default:oauth2_scope'
handler_settings: { }
linkit_profile:
handler: 'default:linkit_profile'
handler_settings: { }
field_type: dynamic_entity_reference
8 changes: 4 additions & 4 deletions drupal/config/sync/linkit.linkit_profile.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ dependencies:
- node
_core:
default_config_hash: Tt8DtxZ3Nooo0PoWPpJvszA3R_5d8MmpUW7LM_R-BzY
id: default
label: Default
id: default
description: 'A default Linkit profile'
matchers:
556010a3-e317-48b3-b4ed-854c10f4b950:
uuid: 556010a3-e317-48b3-b4ed-854c10f4b950
id: 'entity:node'
weight: 0
uuid: 556010a3-e317-48b3-b4ed-854c10f4b950
settings:
metadata: 'by [node:author] | [node:created:medium]'
bundles: { }
group_by_bundle: false
include_unpublished: false
substitution_type: canonical
limit: 100
include_unpublished: false
weight: 0
2 changes: 1 addition & 1 deletion drupal/config/sync/linkychecker.settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_core:
default_config_hash: T4Uf6khas7E18kR1ayjXxHEteU-QjAHGlTjgK28WqoQ
user_agent: 'Drupal 8 Linkychecker'
user_agent: 'Drupal Linkychecker'
crawl_interval: 604800
crawl_per_job: 5
enable_cron: true
Expand Down

0 comments on commit 99ed27c

Please sign in to comment.