protected function setDefaultOptions(array $options = [])
    {
        $this->options = $this->formHelper->mergeOptions($this->allDefaults(), $this->getDefaults());
        $this->options = $this->prepareOptions($options);
    }
protected function setDefaultOptions(array $options = [])
    {
        $this->options = $this->formHelper->mergeOptions($this->allDefaults(), $this->getDefaults());
        $this->options = $this->prepareOptions($options);
    }
protected function setDefaultOptions ( array $ options = [ ] ) { $ this -> options = $ this -> formHelper -> mergeOptions ( $ this -> allDefaults ( ) , $ this -> getDefaults ( ) ) ; $ this -> options = $ this -> prepareOptions ( $ options ) ; }
Merge all defaults with field specific defaults and set template if passed

@param array $options
Merge all defaults with field specific defaults and set template if passed