Allow HTML in menu item texts

Public

</> CopyGet raw version
php
  1. /**
  2.  * Implements hook_menu_link_alter().
  3.  */
  4. function MYMODULE_menu_link_alter(&$item) {
  5. // Generally allow HTML in menu item texts.
  6. $item['options']['html'] = TRUE;
  7. }