Just came across this.
@freeform.steph - The ZIP file must be returning the latest verison because an alternate fix already went into the dev branch. See https://git.drupalcode.org/project/ckeditor_link/-/commit/623db1af26631d.... That's what you're seeing.
The already committed fix should be the one to use, while this ticket should probably be belatedly closed as a duplicate.
Grammatical changes to more clearly differentiate the different types of dynamic routes, and core module examples.
+1 for this feature getting in. I just ran into this need, and it seems like a no-brainer addition in the spirit of Starshot.
aubjr_drupal β created an issue.
A comment by "John" under this answer helped solve it for me (I have an Entity Reference of an image that I needed the URL for). And I didn't need the preprocess_page code. In a page.twig.html, this works:
{{ node.field_header_image.entity.field_media_image.entity.uri.value }}
- field_header_image: The entity reference field
- field_media_image: The media -> image field machine name you can find at /admin/structure/media/manage/image/fields.
It's as clear as mud until you figure it out.
If you come across this error (which I did), your STARTERKIT.info.yml is probably out of date β .
Update your newly renamed copy of STARTERKIT.info.yml by replacing:
component-libraries:
STARTERKIT:
paths:
- components
- templates
...with:
components:
namespaces:
yourSubthemeName: components
(There hasn't been a patch applied since this project is old and appears to have been abandoned years ago. There are other small tweaks to the codebase you'll need to make this work with D10 - such as drupal_get_path() has long since been deprecated.)
This should probably be closed. It looks like the latest patch incorrectly changes the TWIG's component directories (perhaps the subtheme's components config isn't set correctly.)
When I saw it, it was like, "Ohhh - Duh..." The SQL client wasn't installed on our prod web server (the DB is elsewhere), and it didn't cross my mind to check that little detail first. Debug messages for the win.. Thanks, man!
Really, really old patch, but I can verify this works.
Thanks for posting this patch, @alena_stanul. I went with your version since there was no followup. Tested and worked for me.
aubjr_drupal β created an issue.
Thanks, @gabesullice for https://www.drupal.org/project/drupal/issues/3200620#comment-14040318 β¨ Allow defining a route with _auth: 'TRUE' to enable all available authentication providers. Active . I was a little stuck until I read this. :)