public function getConfig(&$config)
 {
     $config['includeAllValue'] = $this->includeAllValue;
     $config['exclude'] = $this->exclude;
     // Skip DropdownInputWidget's getConfig(), we don't need 'options' config
     return \OOUI\InputWidget::getConfig($config);
 }
Esempio n. 2
0
 public function getConfig(&$config)
 {
     $config['type'] = $this->type;
     if ($this->min !== null) {
         $config['min'] = $this->min;
     }
     if ($this->max !== null) {
         $config['max'] = $this->max;
     }
     if ($this->clearable !== null) {
         $config['clearable'] = $this->clearable;
     }
     return parent::getConfig($config);
 }