public function getFieldTypes()
    {
        foreach ($this->fieldTypeRegistry->getFieldTypes() as $identifier => $spiFieldType) {
            if (isset($this->fieldTypes[$identifier])) {
                continue;
            }

            $this->fieldTypes[$identifier] = new FieldType($spiFieldType);
        }

        return $this->fieldTypes;
    }
public function getFieldTypes()
    {
        foreach ($this->fieldTypeRegistry->getFieldTypes() as $identifier => $spiFieldType) {
            if (isset($this->fieldTypes[$identifier])) {
                continue;
            }

            $this->fieldTypes[$identifier] = new FieldType($spiFieldType);
        }

        return $this->fieldTypes;
    }
public function getFieldTypes ( ) { foreach ( $ this -> fieldTypeRegistry -> getFieldTypes ( ) as $ identifier => $ spiFieldType ) { if ( isset ( $ this -> fieldTypes [ $ identifier ] ) ) { continue ; } $ this -> fieldTypes [ $ identifier ] = new FieldType ( $ spiFieldType ) ; } return $ this -> fieldTypes ; }
Returns a list of all field types.

@return \eZ\Publish\API\Repository\FieldType[]
Returns a list of all field types .