Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

freeweb's avatar

Pass params to action on MetricTableRow

Hi, I would like to pass a params on actions like this:

->actions(function($bottle){ return [ MenuItem::externalLink('View' , '/admin/resources/bottles/' . $bottle['id']), ] });

How you do that? thanks

0 likes
0 replies

Please or to participate in this conversation.