What is a user category exactly?

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-02-23T03:28:30Z Indexed on 2010/04/14 10:03 UTC
Read the original article Hit count: 344

Filed under:
|

I wanted to add a tab to the user edit page ie user/%/edit/foo, and was using the twitter module as a model. After much spelunking and stepping through with a debugger, I realised that I needed to add a hook_user function in my module so that the %user_category part of the menu router path would work.

It's now functioning as expected, but I don't really have a solid idea of what I just did, and haven't found a good explanation anywhere.

Can anyone explain to me what it's about?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-module