Hi I am developing a custom module for menus and I want to add active class to menu items based on the current path. For this I have tried
theme_menu_link() but this function only provides the mlid(menu link ID) of the original links and not all the menu items. But I need the mlid of all individual menu links.
Is there any alternate hook for this functionality, or any other way to do this?