Menu Model Item in Joomla 4

by Radek Suski   Last Updated January 11, 2018 10:10 AM

Does anyone know how can I get the current menu model in Joomla 4? In 2.5/3.X I was using this code:

    $model = JModelLegacy::getInstance( 'MenusModelItem' )

But this is not working anymore in 4. I kinda cannot find any way to get it in J4.

Regards, Radek

Tags : joomla-3.x

Related Questions