/** * Returns the input fields for this widget. * * @return FieldList * * @author Sebastian Diel <*****@*****.**> * @since 13.03.2014 */ public function getCMSFields() { $fetchMethods = array('random' => $this->fieldLabel('fetchMethodRandom'), 'sortOrderAsc' => $this->fieldLabel('fetchMethodSortOrderAsc')); $fields = SilvercartWidgetTools::getCMSFieldsForProductSliderWidget($this, $fetchMethods); return $fields; }