From d99adcefc7980067c737e76c8d15d6d5db61ddf6 Mon Sep 17 00:00:00 2001 From: Brian Gilbert Date: Tue, 28 Jun 2022 15:07:00 +1000 Subject: [PATCH] chore(#17): improve link checker and linkit, configure asymmetric translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ion for paragraphs --- drupal/composer.json | 11 +++ drupal/composer.lock | 63 ++++++++++++- ...ty_form_display.media.document.default.yml | 5 + ...m_display.media.document.media_library.yml | 5 + ...ntity_form_display.media.image.default.yml | 5 + ...form_display.media.image.media_library.yml | 5 + drupal/config/sync/core.extension.yml | 1 + ....field.media.image.field_media_caption.yml | 2 +- ....media.image.field_media_content_owner.yml | 2 +- ...ield.media.image.field_media_copyright.yml | 2 +- ...ld.media.image.field_media_description.yml | 2 +- ...ld.media.image.field_media_usage_terms.yml | 2 +- ...d.media.video.field_media_oembed_video.yml | 2 +- ...field.field.node.article.field_content.yml | 5 +- .../field.field.node.event.field_content.yml | 3 - .../field.field.node.page.field_content.yml | 5 +- .../field.field.paragraph.card.field_link.yml | 3 + ...ld.paragraph.card.field_text_formatted.yml | 2 +- ...field.field.paragraph.card.field_title.yml | 2 +- ...paragraph.entity_reference.field_title.yml | 2 +- ...ield.paragraph.jumbotron.field_content.yml | 2 +- .../field.field.paragraph.link.field_link.yml | 3 + ...ield.field.paragraph.media.field_media.yml | 2 +- ...ld.field.paragraph.section.field_title.yml | 2 +- ...nguage.content_settings.media.document.yml | 9 +- .../language.content_settings.media.image.yml | 9 +- .../language.content_settings.media.video.yml | 7 ++ .../sync/linkit.linkit_profile.default.yml | 8 +- drupal/config/sync/linkychecker.settings.yml | 2 +- drupal/config/sync/views.view.content.yml | 66 +++++++++++++ drupal/config/sync/views.view.media.yml | 66 +++++++++++++ .../config/sync/views.view.media_library.yml | 94 ++++++++++++++++++- ....b7577814-0170-4ef8-8fc7-bd539fc76694.json | 63 +++++++++++++ drupal/content/meta/index.json | 7 +- ...171f80b4-3ed3-4435-83c7-07c69abc7e8c.json} | 6 +- ....7405b79f-638c-46db-97e8-3cb339655225.json | 65 ------------- ....91ea790b-ef56-4c85-86db-4690b8e0fffd.json | 62 ++++++++++++ 37 files changed, 498 insertions(+), 104 deletions(-) create mode 100644 drupal/content/consumer.b7577814-0170-4ef8-8fc7-bd539fc76694.json rename drupal/content/{user.fb85df17-bbd5-4b75-890e-e010d6410ac0.json => user.171f80b4-3ed3-4435-83c7-07c69abc7e8c.json} (85%) delete mode 100644 drupal/content/user.7405b79f-638c-46db-97e8-3cb339655225.json create mode 100644 drupal/content/user.91ea790b-ef56-4c85-86db-4690b8e0fffd.json diff --git a/drupal/composer.json b/drupal/composer.json index abada0a..533a15d 100644 --- a/drupal/composer.json +++ b/drupal/composer.json @@ -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", @@ -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" } } } diff --git a/drupal/composer.lock b/drupal/composer.lock index 1718433..9cbab2b 100644 --- a/drupal/composer.lock +++ b/drupal/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": "e65dc3afbe4003bdc5ddc952c7dd18d3", + "content-hash": "6f71ca2ed45f4fac19eb3b5e5c04a05d", "packages": [ { "name": "asm89/stack-cors", @@ -5355,6 +5355,67 @@ "source": "https://git.drupalcode.org/project/paragraphs" } }, + { + "name": "drupal/paragraphs_asymmetric_translation_widgets", + "version": "1.0.0-beta4", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/paragraphs_asymmetric_translation_widgets.git", + "reference": "8.x-1.0-beta4" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/paragraphs_asymmetric_translation_widgets-8.x-1.0-beta4.zip", + "reference": "8.x-1.0-beta4", + "shasum": "6c524f787a25654b5d2c43afd92e3766ff1ba532" + }, + "require": { + "drupal/core": "^8 || ^9", + "drupal/paragraphs": "~1.3" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.0-beta4", + "datestamp": "1594979926", + "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" + ], + "authors": [ + { + "name": "Grayle", + "homepage": "https://www.drupal.org/user/3145497" + }, + { + "name": "efpapado", + "homepage": "https://www.drupal.org/user/1009348" + }, + { + "name": "esolitos", + "homepage": "https://www.drupal.org/user/1567500" + }, + { + "name": "penyaskito", + "homepage": "https://www.drupal.org/user/959536" + }, + { + "name": "weseze", + "homepage": "https://www.drupal.org/user/417521" + } + ], + "description": "Extends the paragraphs field widgets to support asymmetric translations.", + "homepage": "https://www.drupal.org/project/paragraphs_asymmetric_translation_widgets", + "support": { + "source": "https://git.drupalcode.org/project/paragraphs_asymmetric_translation_widgets" + } + }, { "name": "drupal/paragraphs_ee", "version": "2.0.3", diff --git a/drupal/config/sync/core.entity_form_display.media.document.default.yml b/drupal/config/sync/core.entity_form_display.media.document.default.yml index d028f20..eb4c5c2 100644 --- a/drupal/config/sync/core.entity_form_display.media.document.default.yml +++ b/drupal/config/sync/core.entity_form_display.media.document.default.yml @@ -90,6 +90,11 @@ content: settings: display_label: true third_party_settings: { } + translation: + weight: 10 + region: content + settings: { } + third_party_settings: { } uid: type: entity_reference_autocomplete weight: 7 diff --git a/drupal/config/sync/core.entity_form_display.media.document.media_library.yml b/drupal/config/sync/core.entity_form_display.media.document.media_library.yml index 6507ed0..0967e6d 100644 --- a/drupal/config/sync/core.entity_form_display.media.document.media_library.yml +++ b/drupal/config/sync/core.entity_form_display.media.document.media_library.yml @@ -64,6 +64,11 @@ content: size: 60 placeholder: '' third_party_settings: { } + translation: + weight: 10 + region: content + settings: { } + third_party_settings: { } hidden: created: true langcode: true diff --git a/drupal/config/sync/core.entity_form_display.media.image.default.yml b/drupal/config/sync/core.entity_form_display.media.image.default.yml index ddeec91..149ab70 100644 --- a/drupal/config/sync/core.entity_form_display.media.image.default.yml +++ b/drupal/config/sync/core.entity_form_display.media.image.default.yml @@ -104,6 +104,11 @@ content: settings: display_label: true third_party_settings: { } + translation: + weight: 10 + region: content + settings: { } + third_party_settings: { } uid: type: entity_reference_autocomplete weight: 8 diff --git a/drupal/config/sync/core.entity_form_display.media.image.media_library.yml b/drupal/config/sync/core.entity_form_display.media.image.media_library.yml index 908c8c4..5af00c7 100644 --- a/drupal/config/sync/core.entity_form_display.media.image.media_library.yml +++ b/drupal/config/sync/core.entity_form_display.media.image.media_library.yml @@ -76,6 +76,11 @@ content: size: 60 placeholder: '' third_party_settings: { } + translation: + weight: 10 + region: content + settings: { } + third_party_settings: { } hidden: created: true langcode: true diff --git a/drupal/config/sync/core.extension.yml b/drupal/config/sync/core.extension.yml index 229453b..465c50e 100644 --- a/drupal/config/sync/core.extension.yml +++ b/drupal/config/sync/core.extension.yml @@ -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 diff --git a/drupal/config/sync/field.field.media.image.field_media_caption.yml b/drupal/config/sync/field.field.media.image.field_media_caption.yml index 715e5bc..ab4f194 100644 --- a/drupal/config/sync/field.field.media.image.field_media_caption.yml +++ b/drupal/config/sync/field.field.media.image.field_media_caption.yml @@ -18,7 +18,7 @@ bundle: image label: Caption description: "Alt text is a description of what an image shows, eg. 'Small dog'. \r\nThe caption should convey information as to why you have placed the image, it usually include image title and credits, who is shown in the photo, etc. eg. 'Rufus the Corgi as a puppy. Photo taken by Brian Gilbert'" required: true -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.media.image.field_media_content_owner.yml b/drupal/config/sync/field.field.media.image.field_media_content_owner.yml index 224c1e3..ad8a56a 100644 --- a/drupal/config/sync/field.field.media.image.field_media_content_owner.yml +++ b/drupal/config/sync/field.field.media.image.field_media_content_owner.yml @@ -12,7 +12,7 @@ bundle: image label: 'Content owner' description: 'Enter the person or role that is primary contact regarding this image.' required: false -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.media.image.field_media_copyright.yml b/drupal/config/sync/field.field.media.image.field_media_copyright.yml index edff292..71d5426 100644 --- a/drupal/config/sync/field.field.media.image.field_media_copyright.yml +++ b/drupal/config/sync/field.field.media.image.field_media_copyright.yml @@ -12,7 +12,7 @@ bundle: image label: Copyright description: '' required: false -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.media.image.field_media_description.yml b/drupal/config/sync/field.field.media.image.field_media_description.yml index 8c61848..ffa0240 100644 --- a/drupal/config/sync/field.field.media.image.field_media_description.yml +++ b/drupal/config/sync/field.field.media.image.field_media_description.yml @@ -12,7 +12,7 @@ bundle: image label: Description description: 'Enter a very short description to help editors find relevant media.' required: true -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.media.image.field_media_usage_terms.yml b/drupal/config/sync/field.field.media.image.field_media_usage_terms.yml index 58e693f..e843dcc 100644 --- a/drupal/config/sync/field.field.media.image.field_media_usage_terms.yml +++ b/drupal/config/sync/field.field.media.image.field_media_usage_terms.yml @@ -12,7 +12,7 @@ bundle: image label: 'Usage Terms & Conditions' description: 'Please describe any limitations in usage of this image.' required: false -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.media.video.field_media_oembed_video.yml b/drupal/config/sync/field.field.media.video.field_media_oembed_video.yml index 093520f..b35806b 100644 --- a/drupal/config/sync/field.field.media.video.field_media_oembed_video.yml +++ b/drupal/config/sync/field.field.media.video.field_media_oembed_video.yml @@ -12,7 +12,7 @@ bundle: video label: 'Remote video URL' description: '' required: true -translatable: true +translatable: false default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.node.article.field_content.yml b/drupal/config/sync/field.field.node.article.field_content.yml index c01f16f..45f8818 100644 --- a/drupal/config/sync/field.field.node.article.field_content.yml +++ b/drupal/config/sync/field.field.node.article.field_content.yml @@ -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: @@ -52,9 +52,6 @@ settings: jumbotron: weight: -17 enabled: true - layout: - weight: 17 - enabled: false link: weight: -16 enabled: true diff --git a/drupal/config/sync/field.field.node.event.field_content.yml b/drupal/config/sync/field.field.node.event.field_content.yml index fb8aae9..826f36a 100644 --- a/drupal/config/sync/field.field.node.event.field_content.yml +++ b/drupal/config/sync/field.field.node.event.field_content.yml @@ -52,9 +52,6 @@ settings: jumbotron: weight: -18 enabled: true - layout: - weight: 17 - enabled: false link: weight: -17 enabled: true diff --git a/drupal/config/sync/field.field.node.page.field_content.yml b/drupal/config/sync/field.field.node.page.field_content.yml index 206a247..da07c3e 100644 --- a/drupal/config/sync/field.field.node.page.field_content.yml +++ b/drupal/config/sync/field.field.node.page.field_content.yml @@ -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: @@ -54,9 +54,6 @@ settings: jumbotron: weight: -18 enabled: true - layout: - weight: 17 - enabled: false link: weight: -17 enabled: true diff --git a/drupal/config/sync/field.field.paragraph.card.field_link.yml b/drupal/config/sync/field.field.paragraph.card.field_link.yml index abb342f..bab67bc 100644 --- a/drupal/config/sync/field.field.paragraph.card.field_link.yml +++ b/drupal/config/sync/field.field.paragraph.card.field_link.yml @@ -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 diff --git a/drupal/config/sync/field.field.paragraph.card.field_text_formatted.yml b/drupal/config/sync/field.field.paragraph.card.field_text_formatted.yml index d10dc73..e606f81 100644 --- a/drupal/config/sync/field.field.paragraph.card.field_text_formatted.yml +++ b/drupal/config/sync/field.field.paragraph.card.field_text_formatted.yml @@ -14,7 +14,7 @@ bundle: card label: Description description: "" required: true -translatable: true +translatable: false default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.paragraph.card.field_title.yml b/drupal/config/sync/field.field.paragraph.card.field_title.yml index 5bc9b2d..4dda4ca 100644 --- a/drupal/config/sync/field.field.paragraph.card.field_title.yml +++ b/drupal/config/sync/field.field.paragraph.card.field_title.yml @@ -12,7 +12,7 @@ bundle: card label: 'Card title' description: '' required: false -translatable: true +translatable: false default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.paragraph.entity_reference.field_title.yml b/drupal/config/sync/field.field.paragraph.entity_reference.field_title.yml index 1057e55..b447953 100644 --- a/drupal/config/sync/field.field.paragraph.entity_reference.field_title.yml +++ b/drupal/config/sync/field.field.paragraph.entity_reference.field_title.yml @@ -12,7 +12,7 @@ bundle: entity_reference label: 'Title override' description: 'Override the title used for the link.' required: false -translatable: true +translatable: false default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/field.field.paragraph.jumbotron.field_content.yml b/drupal/config/sync/field.field.paragraph.jumbotron.field_content.yml index aa4b054..bca3db6 100644 --- a/drupal/config/sync/field.field.paragraph.jumbotron.field_content.yml +++ b/drupal/config/sync/field.field.paragraph.jumbotron.field_content.yml @@ -16,7 +16,7 @@ bundle: jumbotron label: Content description: '' required: false -translatable: true +translatable: false default_value: { } default_value_callback: '' settings: diff --git a/drupal/config/sync/field.field.paragraph.link.field_link.yml b/drupal/config/sync/field.field.paragraph.link.field_link.yml index 5b6856d..8504013 100644 --- a/drupal/config/sync/field.field.paragraph.link.field_link.yml +++ b/drupal/config/sync/field.field.paragraph.link.field_link.yml @@ -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 diff --git a/drupal/config/sync/field.field.paragraph.media.field_media.yml b/drupal/config/sync/field.field.paragraph.media.field_media.yml index 4551b96..2117bd8 100644 --- a/drupal/config/sync/field.field.paragraph.media.field_media.yml +++ b/drupal/config/sync/field.field.paragraph.media.field_media.yml @@ -15,7 +15,7 @@ bundle: media label: Media description: '' required: true -translatable: true +translatable: false default_value: { } default_value_callback: '' settings: diff --git a/drupal/config/sync/field.field.paragraph.section.field_title.yml b/drupal/config/sync/field.field.paragraph.section.field_title.yml index d64ed65..2d2c87d 100644 --- a/drupal/config/sync/field.field.paragraph.section.field_title.yml +++ b/drupal/config/sync/field.field.paragraph.section.field_title.yml @@ -12,7 +12,7 @@ bundle: section label: 'Section title' description: '

If populated this will be displayed as a H2 above the section.
It will also be used to generate in page contents listing.

' required: false -translatable: true +translatable: false default_value: { } default_value_callback: '' settings: { } diff --git a/drupal/config/sync/language.content_settings.media.document.yml b/drupal/config/sync/language.content_settings.media.document.yml index 5f5b936..a0c26c7 100644 --- a/drupal/config/sync/language.content_settings.media.document.yml +++ b/drupal/config/sync/language.content_settings.media.document.yml @@ -4,8 +4,15 @@ status: true dependencies: config: - media.type.document + module: + - content_translation +third_party_settings: + content_translation: + enabled: true + bundle_settings: + untranslatable_fields_hide: '0' id: media.document target_entity_type_id: media target_bundle: document default_langcode: site_default -language_alterable: false +language_alterable: true diff --git a/drupal/config/sync/language.content_settings.media.image.yml b/drupal/config/sync/language.content_settings.media.image.yml index 0805d2b..ff1b344 100644 --- a/drupal/config/sync/language.content_settings.media.image.yml +++ b/drupal/config/sync/language.content_settings.media.image.yml @@ -4,8 +4,15 @@ status: true dependencies: config: - media.type.image + module: + - content_translation +third_party_settings: + content_translation: + enabled: true + bundle_settings: + untranslatable_fields_hide: '0' id: media.image target_entity_type_id: media target_bundle: image default_langcode: site_default -language_alterable: false +language_alterable: true diff --git a/drupal/config/sync/language.content_settings.media.video.yml b/drupal/config/sync/language.content_settings.media.video.yml index 6e1c2db..166f6cd 100644 --- a/drupal/config/sync/language.content_settings.media.video.yml +++ b/drupal/config/sync/language.content_settings.media.video.yml @@ -4,6 +4,13 @@ status: true dependencies: config: - media.type.video + module: + - content_translation +third_party_settings: + content_translation: + enabled: false + bundle_settings: + untranslatable_fields_hide: '0' id: media.video target_entity_type_id: media target_bundle: video diff --git a/drupal/config/sync/linkit.linkit_profile.default.yml b/drupal/config/sync/linkit.linkit_profile.default.yml index a96c2dd..d9a6f4c 100644 --- a/drupal/config/sync/linkit.linkit_profile.default.yml +++ b/drupal/config/sync/linkit.linkit_profile.default.yml @@ -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 diff --git a/drupal/config/sync/linkychecker.settings.yml b/drupal/config/sync/linkychecker.settings.yml index 539b22e..dfe3bfb 100644 --- a/drupal/config/sync/linkychecker.settings.yml +++ b/drupal/config/sync/linkychecker.settings.yml @@ -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 diff --git a/drupal/config/sync/views.view.content.yml b/drupal/config/sync/views.view.content.yml index 2a3afe8..59619e6 100644 --- a/drupal/config/sync/views.view.content.yml +++ b/drupal/config/sync/views.view.content.yml @@ -124,6 +124,72 @@ display: multi_type: separator separator: ', ' field_api_classes: false + langcode: + id: langcode + table: node_field_revision + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: langcode + plugin_id: field + label: Language + 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: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + link_to_entity: false + native_language: false + 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 name: id: name table: users_field_data diff --git a/drupal/config/sync/views.view.media.yml b/drupal/config/sync/views.view.media.yml index 735050f..1d86c78 100644 --- a/drupal/config/sync/views.view.media.yml +++ b/drupal/config/sync/views.view.media.yml @@ -259,6 +259,72 @@ display: multi_type: separator separator: ', ' field_api_classes: false + langcode: + id: langcode + table: media_field_revision + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: langcode + plugin_id: field + label: Language + 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: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + link_to_entity: false + native_language: false + 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 uid: id: uid table: media_field_data diff --git a/drupal/config/sync/views.view.media_library.yml b/drupal/config/sync/views.view.media_library.yml index ca64cd1..94228b3 100644 --- a/drupal/config/sync/views.view.media_library.yml +++ b/drupal/config/sync/views.view.media_library.yml @@ -478,13 +478,21 @@ display: cache_metadata: max-age: 0 contexts: + - 'languages:language_content' - 'languages:language_interface' - url - url.query_args - 'url.query_args:sort_by' - user - user.permissions - tags: { } + tags: + - 'config:core.entity_view_display.media.document.default' + - 'config:core.entity_view_display.media.document.media_library' + - 'config:core.entity_view_display.media.image.card' + - 'config:core.entity_view_display.media.image.default' + - 'config:core.entity_view_display.media.image.media_library' + - 'config:core.entity_view_display.media.video.default' + - 'config:core.entity_view_display.media.video.media_library' page: id: page display_title: Page @@ -781,7 +789,14 @@ display: - 'url.query_args:sort_by' - user - user.permissions - tags: { } + tags: + - 'config:core.entity_view_display.media.document.default' + - 'config:core.entity_view_display.media.document.media_library' + - 'config:core.entity_view_display.media.image.card' + - 'config:core.entity_view_display.media.image.default' + - 'config:core.entity_view_display.media.image.media_library' + - 'config:core.entity_view_display.media.video.default' + - 'config:core.entity_view_display.media.video.media_library' widget: id: widget display_title: Widget @@ -1101,7 +1116,14 @@ display: - url.query_args - 'url.query_args:sort_by' - user.permissions - tags: { } + tags: + - 'config:core.entity_view_display.media.document.default' + - 'config:core.entity_view_display.media.document.media_library' + - 'config:core.entity_view_display.media.image.card' + - 'config:core.entity_view_display.media.image.default' + - 'config:core.entity_view_display.media.image.media_library' + - 'config:core.entity_view_display.media.video.default' + - 'config:core.entity_view_display.media.video.media_library' widget_table: id: widget_table display_title: 'Widget (table)' @@ -1146,6 +1168,72 @@ display: type: string settings: link_to_entity: false + langcode: + id: langcode + table: media_field_revision + field: langcode + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: langcode + plugin_id: field + label: Language + 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: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: language + settings: + link_to_entity: false + native_language: false + 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 uid: id: uid table: media_field_revision diff --git a/drupal/content/consumer.b7577814-0170-4ef8-8fc7-bd539fc76694.json b/drupal/content/consumer.b7577814-0170-4ef8-8fc7-bd539fc76694.json new file mode 100644 index 0000000..db81d63 --- /dev/null +++ b/drupal/content/consumer.b7577814-0170-4ef8-8fc7-bd539fc76694.json @@ -0,0 +1,63 @@ +{ + "uuid": [ + { + "value": "b7577814-0170-4ef8-8fc7-bd539fc76694" + } + ], + "langcode": [ + { + "value": "en" + } + ], + "owner_id": [ + { + "target_type": "user", + "target_uuid": "91ea790b-ef56-4c85-86db-4690b8e0fffd" + } + ], + "label": [ + { + "value": "Default Consumer" + } + ], + "description": [ + { + "value": "This is the default consumer. This was created programmatically when the Consumers module was first installed. Feel free to edit, or delete this." + } + ], + "image": [ + { + "target_id": null, + "alt": null, + "title": null, + "width": null, + "height": null + } + ], + "third_party": [ + { + "value": true + } + ], + "is_default": [ + { + "value": true + } + ], + "default_langcode": [ + { + "value": true + } + ], + "secret": [], + "grant_types": [], + "confidential": [], + "scopes": [], + "redirect": [], + "access_token_expiration": [], + "refresh_token_expiration": [], + "user_id": [], + "pkce": [], + "automatic_authorization": [], + "remember_approval": [] +} \ No newline at end of file diff --git a/drupal/content/meta/index.json b/drupal/content/meta/index.json index 9025267..ce5855d 100644 --- a/drupal/content/meta/index.json +++ b/drupal/content/meta/index.json @@ -1,4 +1,7 @@ { - "user.7405b79f-638c-46db-97e8-3cb339655225": [], - "user.fb85df17-bbd5-4b75-890e-e010d6410ac0": [] + "consumer.b7577814-0170-4ef8-8fc7-bd539fc76694": [ + "user.91ea790b-ef56-4c85-86db-4690b8e0fffd" + ], + "user.171f80b4-3ed3-4435-83c7-07c69abc7e8c": [], + "user.91ea790b-ef56-4c85-86db-4690b8e0fffd": [] } \ No newline at end of file diff --git a/drupal/content/user.fb85df17-bbd5-4b75-890e-e010d6410ac0.json b/drupal/content/user.171f80b4-3ed3-4435-83c7-07c69abc7e8c.json similarity index 85% rename from drupal/content/user.fb85df17-bbd5-4b75-890e-e010d6410ac0.json rename to drupal/content/user.171f80b4-3ed3-4435-83c7-07c69abc7e8c.json index e8f1f2a..2fe0123 100644 --- a/drupal/content/user.fb85df17-bbd5-4b75-890e-e010d6410ac0.json +++ b/drupal/content/user.171f80b4-3ed3-4435-83c7-07c69abc7e8c.json @@ -6,7 +6,7 @@ ], "uuid": [ { - "value": "fb85df17-bbd5-4b75-890e-e010d6410ac0" + "value": "171f80b4-3ed3-4435-83c7-07c69abc7e8c" } ], "langcode": [ @@ -42,13 +42,13 @@ ], "created": [ { - "value": "2021-10-28T04:38:06+00:00", + "value": "2022-06-28T07:19:28+00:00", "format": "Y-m-d\\TH:i:sP" } ], "changed": [ { - "value": "2021-10-28T04:38:06+00:00", + "value": "2022-06-28T07:19:28+00:00", "format": "Y-m-d\\TH:i:sP" } ], diff --git a/drupal/content/user.7405b79f-638c-46db-97e8-3cb339655225.json b/drupal/content/user.7405b79f-638c-46db-97e8-3cb339655225.json deleted file mode 100644 index 5671ece..0000000 --- a/drupal/content/user.7405b79f-638c-46db-97e8-3cb339655225.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "uid": [ - { - "value": 0 - } - ], - "uuid": [ - { - "value": "7405b79f-638c-46db-97e8-3cb339655225" - } - ], - "langcode": [ - { - "value": "en" - } - ], - "preferred_langcode": [ - { - "value": "en" - } - ], - "preferred_admin_langcode": [], - "name": [ - { - "value": "" - } - ], - "mail": [], - "timezone": [ - { - "value": "UTC" - } - ], - "status": [ - { - "value": false - } - ], - "created": [ - { - "value": "2020-01-14T17:07:31+00:00", - "format": "Y-m-d\\TH:i:sP" - } - ], - "changed": [ - { - "value": "2020-01-14T17:07:31+00:00", - "format": "Y-m-d\\TH:i:sP" - } - ], - "roles": [], - "default_langcode": [ - { - "value": true - } - ], - "path": [ - { - "alias": null, - "pid": null, - "langcode": "en", - "pathauto": 0 - } - ] -} diff --git a/drupal/content/user.91ea790b-ef56-4c85-86db-4690b8e0fffd.json b/drupal/content/user.91ea790b-ef56-4c85-86db-4690b8e0fffd.json new file mode 100644 index 0000000..388a91c --- /dev/null +++ b/drupal/content/user.91ea790b-ef56-4c85-86db-4690b8e0fffd.json @@ -0,0 +1,62 @@ +{ + "uid": [ + { + "value": 0 + } + ], + "uuid": [ + { + "value": "91ea790b-ef56-4c85-86db-4690b8e0fffd" + } + ], + "langcode": [ + { + "value": "en" + } + ], + "preferred_langcode": [ + { + "value": "en" + } + ], + "preferred_admin_langcode": [], + "name": [ + { + "value": "" + } + ], + "mail": [], + "timezone": [ + { + "value": "" + } + ], + "status": [ + { + "value": false + } + ], + "created": [ + { + "value": "2022-06-28T07:19:28+00:00", + "format": "Y-m-d\\TH:i:sP" + } + ], + "changed": [ + { + "value": "2022-06-28T07:19:28+00:00", + "format": "Y-m-d\\TH:i:sP" + } + ], + "roles": [], + "default_langcode": [ + { + "value": true + } + ], + "role_change": [ + { + "target_id": "__role_delegation_empty_field_value__" + } + ] +} \ No newline at end of file