/** * Get widget params * * @return array */ protected function getWidgetParams() { return WidgetRepository::getWidgetPreferences($this->widgetId); }