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.
Currently in the d8 version, linkit is using the aliased path for an entity but this will leave broken links behind if the alias changes.
It would be better to use the internal drupal path (like the d7 version did), or at least provide people the option to choose between the two.
Patch for internal path coming shortly.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2692619-linkit-use-internal-path-1.patch | 509 bytes | rikki_iki |
Comments
Comment #2
rikki_iki CreditAttribution: rikki_iki as a volunteer commentedComment #3
stBorchertWorks as expected. Thanks for the patch.
Comment #4
anonThis will be handled in a different way with 8.x-5.x. A filter will handle this to use the parse the link.
Comment #5
anonThe filter uses
$url = $entity->toUrl()->toString(TRUE);
and I don't think this will be a problem, but feel free to reopen this again if you disagree with me.