Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The title module provides links to the original content but quite frequently other fields are the intended destination.
Proposed resolution
If the link module is enabled, use link fields to link title fields to.
Remaining tasks
User interface changes
Additional options to link title to:
API changes
Data model changes
n/a
Original Reporter:
I was looking for integration of the module Title and link, but I couldn't find the correct solution. I think this integration is useful to many.
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#4 | Content_Promo.png | 40.58 KB | joelpittet |
#1 | title-link_integration-2465021.patch | 2.56 KB | neomen |
Comments
Comment #1
neomen CreditAttribution: neomen commentedI've made a simple patch for this integration.
Comment #2
joelpittetComment #3
joelpittetThis patch may allow me to remove a linked_field module that is only being used for this purpose! Thank you @neomen!
Comment #4
joelpittetComment #5
plachThanks for your contribution, overall this is looking good, but the patch has some issues:
Missing trailing dot.
Can we move this check into the
_title_get_link_fields()
function?The wording of this comment needs some work (and coding standard compliance :)
This is duplicating the code above, it would be good to rearrange this so that is just reused.