How to get all the paths in drupal install

I need to write a module that gives me a page, all the possible ways to install drupal, including axis pages. (site map will not work for this).

I can query the url_alias table for aliases, and I can query the menu_router table for all paths, even those set in the page / feed mappings in the views. But path variables (those that have arguments) are interpreted at runtime.

So, is there a way to get all possible drupal installation paths, including dynamic paths and orphans? This is a catch22. I must know all the URLs in advance in order to get them.

+3
source share
3 answers

, drupal, url_alias ( ) menu_router, , . , menu_router. , , Drupal .

, - catch22. - , , ( ), , .

+2

Drupal? menu_links .

0

menu_edit_validate(), , drupal , .

, , , . , . , , node/% node/edit, node . , ....

, ? , .

0

Source: https://habr.com/ru/post/1738066/


All Articles