/** * Get default attributes widgets * * @return array */ protected function getDefaultWidgets() { $list = array(); foreach (\XLite\Model\Attribute::getTypes() as $type => $name) { $list[] = $this->getWidget(array(), \XLite\Model\Attribute::getWidgetClass($type)); } return $list; }