Utility/Fields/FieldBase.php
public function init($default = null)
    {
        //$this->model = $this->getModel();
        if (!isset($default)) {
            //$this->value = $this->model->value;
            if (empty($this->dataInDB)) {
                $this->value = $this->getOption('default');
            } else {
                $this->value =  $this->dataInDB;
            }
        } else {
            $this->value = $default['value'];
        }
    }
public function init($default = null)
    {
        //$this->model = $this->getModel();
        if (!isset($default)) {
            //$this->value = $this->model->value;
            if (empty($this->dataInDB)) {
                $this->value = $this->getOption('default');
            } else {
                $this->value =  $this->dataInDB;
            }
        } else {
            $this->value = $default['value'];
        }
    }
Set model and value.

@param null $default