/** * @param string $type * @return string */ public function getGroupOfOption($type) { $group = $this->_option->getGroupByType($type); return $group == '' ? 'default' : $group; }