$id, 'name' => $widgetName, 'params' => json_encode($widgetParams), ]); } }