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.
Entity annotations should define link by URI, not route. See core issue #2281645: Make entity annotations use link templates instead of route names
This cause
InvalidArgumentException: Link templates accepts paths, which have to start with a leading slash. in Drupal\Core\Entity\EntityType->setLinkTemplate()
Comment | File | Size | Author |
---|---|---|---|
#1 | monolog-entity-links-2498267-1.patch | 606 bytes | willzyx |
Comments
Comment #1
willzyx CreditAttribution: willzyx commentedComment #3
ParisLiakos CreditAttribution: ParisLiakos commentedAlthough i didnt see the exception anywhere, patch is corrected, so i committed it