1

I want to know what creates an URL of a site for example a view,panel etc. Which command should I write on the Devel module on "Execute php" ? Thanks

2

Not really sure what you are meaning by 'create url', but any url in Drupal is registered through hook_menu(). Don't let the name confuse you - this is a seperate concept to lists of urls (like the navigation menu). The menu system keeps a cache of url to callback function mappings, which you can inspect to see which function each url points to.

To view the menu cache, you can run this code:

dpm(menu_router_build());

You can then look through the array to see the details for each url.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.