4

I have recently started looking into the drupal menu system. I am not able to understand the difference between a router_path and the link_path. Both point to the same location in my installation.

1 Answer 1

0

Pro Drupal Development, Second Edition describes them as:

menu_links.link_path is the Drupal path or external path this link points to.

menu_links.router_path is for links corresponding to a Drupal path (0 means external), this connects the link to a menu_router.path for joins.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.