Hi,
I'm playing with the menu_item_link($link) function in template.php, and am trying to figure out what exactly is in $link. Any thoughts on how to start digging? Is there a documentation anatomy page out there that I'm missing?

Thanks much.

Chris

Comments

yelvington’s picture

Always start at api.drupal.org.

http://api.drupal.org/api/function/theme_menu_item_link/6

$link is an array, and print_r() will show it to you.

owntheweb’s picture

Yes. I did start there without the answer I was looking for. However, I did space print_r() which was silly. Thanks for the dose of common sense. I'm good to go.

Worlds to explore. Worlds to create.
Blog: http://www.christopherstevens.cc/blog
Twitter: http://www.twitter.com/owntheweb