src/FieldHandlers/FieldHandler.php
protected function setDefaultFieldOptions() : void
    {
        $table = $this->config->getTable();
        $field = $this->config->getField();

        $mc = new ModuleConfig(ConfigType::FIELDS(), Inflector::camelize($table->getTable()));
        $config = $mc->parseToArray();
        if (! empty($config[$field])) {
            $this->defaultOptions = array_replace_recursive($this->defaultOptions, $config[$field]);
        }
    }
protected function setDefaultFieldOptions() : void
    {
        $table = $this->config->getTable();
        $field = $this->config->getField();

        $mc = new ModuleConfig(ConfigType::FIELDS(), Inflector::camelize($table->getTable()));
        $config = $mc->parseToArray();
        if (! empty($config[$field])) {
            $this->defaultOptions = array_replace_recursive($this->defaultOptions, $config[$field]);
        }
    }
protected function setDefaultFieldOptions ( ) : void { $ table = $ this -> config -> getTable ( ) ; $ field = $ this -> config -> getField ( ) ; $ mc = new ModuleConfig ( ConfigType :: FIELDS ( ) , Inflector :: camelize ( $ table -> getTable ( ) ) ) ; $ config = $ mc -> parseToArray ( ) ; if ( ! empty ( $ config [ $ field ] ) ) { $ this -> defaultOptions = array_replace_recursive ( $ this -> defaultOptions , $ config [ $ field ] ) ; } }
Set default field options from config

Read fields.ini configuration file and if there are any
options defined for the current field, use them as defaults.

@return void
Set default field options from config