Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This modules extends the Linkchecker module to also scan menu links for broken links.

It is required to also patch Linkchecker, with the patch from https://www.drupal.org/node/1975110#comment-9533449 (also available in the repository here), so that hook_query_TAG_NAME_alter can be invoked. Without the patch, Linkchecker will remove menu links from the database as part of routine garbage collection.

Menu links are a little different from links in nodes, comments and custom blocks (which Linkchecker already manages) in that they aren't owned by a particular user. Broken menu links will only show on the main "broken links" page. That page does not check access for menu links, which I will work on next.

The module does not batch the adding/deleting of links when a single menu link is inserted in, updated in, or deleted from a menu.

The module does not yet integrate with drush.

Project Information