Userfunction menu (For backward compability)
Attention
It is still possible to create a menu with special = userfunction
for backward compatibility reasons.
However we would advise you to write a customized MenuProcessor and style the output with Fluid instead.
See TYPO3 11.5 -Userfunction menu for examples how to use the language menu with the HMENU.