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
Custom entries will usually be related to e.g. views, custom controllers or other fixed routes but at the moment custom entries can't be exported.
Proposed resolution
It would be useful to provide custom entries as config so they become exportable.
Remaining tasks
Provide a config entity for custom entries.
Comments
Comment #2
DarkstarTom CreditAttribution: DarkstarTom commentedI've been trying XML sitemap and I definitely think that custom links should be part of config. I would be very grateful if you could implement this.
Comment #3
G42 CreditAttribution: G42 commentedDo you mean that when the site config is exported the xmlsitemap config should include all custom links that were added?
Comment #4
ShaunDychko CreditAttribution: ShaunDychko as a volunteer commented@G42, yes, that's exactly what should happen.
Comment #5
Dave ReidAs maintainer, my intent was never to support custom links as config. They are content, like menu links.
Comment #6
mpp CreditAttribution: mpp as a volunteer and at AmeXio for District09 commentedHi Dave, perhaps we could re-label this one as a feature request? This way someone might still take a shot at implementing it.
We could do something like menu_link_config and make a submodule to make custom links exportable as config.
If not, I'd love to hear some arguments why it's designed as content.