Closed romaninsh closed 6 years ago
Adds ability to define callable Menu Actions:
['menuActions'=>[ 'archive'=>function($p, $model, $key) { $p->add('LoremIpsum'); // you could execute a $model->archive() // $key will contain 'archive', so you can re-use it for method name. }, ]]
Adds ability to define callable Menu Actions: