protected function getDropdownValues()
    {
        if ($source = array_get($this->field->options(), 'value_source')) {

            $values = $this->getDropdownValuesFromSource($source);

            if (false !== $values) {
                return $values;
            }
        }

        return array_get($this->field->options(), 'values', []);
    }
protected function getDropdownValues()
    {
        if ($source = array_get($this->field->options(), 'value_source')) {

            $values = $this->getDropdownValuesFromSource($source);

            if (false !== $values) {
                return $values;
            }
        }

        return array_get($this->field->options(), 'values', []);
    }
protected function getDropdownValues ( ) { if ( $ source = array_get ( $ this -> field -> options ( ) , 'value_source' ) ) { $ values = $ this -> getDropdownValuesFromSource ( $ source ) ; if ( false !== $ values ) { return $ values ; } } return array_get ( $ this -> field -> options ( ) , 'values' , [ ] ) ; }
Returns values to include in the dropdown.

@return string[]
Returns values to include in the dropdown .