src/Service/DefaultValue.php
public function getAllFlat()
    {
        $aAvailable = $this->getAll();
        $aOut       = [];

        foreach ($aAvailable as $oDefault) {
            $aOut[$oDefault->slug] = $oDefault->label;
        }

        return $aOut;
    }
public function getAllFlat()
    {
        $aAvailable = $this->getAll();
        $aOut       = [];

        foreach ($aAvailable as $oDefault) {
            $aOut[$oDefault->slug] = $oDefault->label;
        }

        return $aOut;
    }
public function getAllFlat ( ) { $ aAvailable = $ this -> getAll ( ) ; $ aOut = [ ] ; foreach ( $ aAvailable as $ oDefault ) { $ aOut [ $ oDefault -> slug ] = $ oDefault -> label ; } return $ aOut ; }
Returns the various default values which a field can have as a flat array

@return array
Returns the various default values which a field can have as a flat array