How to hide menu item in Menu::widget?

For example, something like that?
'items' => [
[
 'label' => 'Item',
 'icon' => 'paper-plane-o',
 'url' => '#',
 'visible' => true // to see this menu item if true
],
]


the visible property of course I was up at the top, maybe there is a working version?
August 23rd 19 at 10:50
1 answer
August 23rd 19 at 10:52
Solution
damn, it's true.... visible => true

Find more questions by tags Yii