public function getWidgetType()
    {
        // 1. Use the fieldtypes property if set
        // 2. Use the option 'widget'
        // 3. Use the fieldType getter
        if ($this->hasOption('widget')) return $this->viewPrefix . '.' . $this->getOption('widget');

        if (isset($this->view)) return $this->view;

        return $this->viewPrefix . '.' . $this->getFieldType();
    }