Skip to main content

drupal

Altering menu links

Let's say that you want to add some HTML code before the menu link text. Maybe you want to insert Font Awesome code or something like that. Unfortunately, there is no easy way to do that out of box in the CMS. But, you can use the hook_link_alter(). Read on to find out more.