Invoking custom module from main menu

Not applicable

Hi All,

we are in the process of implementing OAuth based login on our drupal site as being discussed here and while we have the custom module ready and tested using devel,

we are struggling how to invoke that from main menu -> 'login using xyz' menu item/button. Understand that it needs to be invoked by using custom hooks, but cannot find enough documentation on hooks from main menu. Any pointers or steps?

Solved Solved
0 1 119
1 ACCEPTED SOLUTION

Not applicable

Answering my own question here:

We were able to solve it using hook_menu() inside our custom module.

View solution in original post

1 REPLY 1

Not applicable

Answering my own question here:

We were able to solve it using hook_menu() inside our custom module.