I am using the Menu block module. In one template I have used kpr($page);
to see what hooks the menu block is calling. I then created the correct function in my theme's template.php file mytheme_menu_block_wrapper__1()
. The examples I have read suggest that this should not take any arguments.
So what I'm really interested in learning is how to debug drupal.
Is there a function that I can call that will show me all the available variables, something like drupal_special_dump()
that would show all variables I can use? Any help would be appreciated.