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.
There's currently a lot of duplicate between xmlsitemap_node_create_link(), xmlsitemap_menu_create_link(), etc. With the available entity information, we should be able to call a 'xmlsitemap_link_create' function which does most of the work, and then maybe just lets other modules alter what they need to.
Comments
Comment #1
pifagor