How to get all paths in drupal install

Posted by Aaron on Stack Overflow See other posts from Stack Overflow or by Aaron
Published on 2010-03-22T17:35:35Z Indexed on 2010/03/22 17:41 UTC
Read the original article Hit count: 337

Filed under:
|
|

Hi, I need to write a module that gives me a page will all possible paths in a drupal install, including orphaned pages. (site map won't work for that).

I can query the url_alias table for aliases, and I can query the menu_router table for all paths, even ones set in page/feed displays in views. But, variable paths (those with arguments) get interpreted at run-time.

So, is there a way to get all possible paths in a drupal install, including dynamic paths and orphans? It's catch22. I have to know all the urls ahead of time to get them.

© Stack Overflow or respective owner

Related posts about drupal

Related posts about module