From 893436dad8ff2fd35866bc6e08bdaf54406f8169 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 21 Mar 2024 15:11:50 -0700 Subject: [PATCH] Configure linkit to allow linking directly to document media entity files https://www.drupal.org/docs/extending-drupal/contributed-modules/contributed-module-documentation/linkit/link-media-directly-to-the-actual-file-not-the-media-route --- config/linkit.linkit_profile.default.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/linkit.linkit_profile.default.yml b/config/linkit.linkit_profile.default.yml index f4afc35..989f424 100644 --- a/config/linkit.linkit_profile.default.yml +++ b/config/linkit.linkit_profile.default.yml @@ -21,3 +21,14 @@ matchers: limit: 100 include_unpublished: false weight: 0 + 5dddb224-19c1-45e8-b303-071acde45145: + id: 'entity:media' + uuid: 5dddb224-19c1-45e8-b303-071acde45145 + settings: + metadata: '' + bundles: + document: document + group_by_bundle: false + substitution_type: media + limit: 100 + weight: 0