eZ\Publish\Core\Repository\Helper\NameableFieldTypeRegistry::getFieldTypes PHP Method

getFieldTypes() public method

Returns a list of all SPI FieldTypes.
public getFieldTypes ( ) : eZ\Publish\SPI\FieldType\Nameable[]
return eZ\Publish\SPI\FieldType\Nameable[]
    public function getFieldTypes()
    {
        // First make sure all items are correct type (call closures)
        foreach ($this->fieldTypes as $identifier => $value) {
            if (!$value instanceof SPIFieldTypeNameable) {
                $this->getFieldType($identifier);
            }
        }
        return $this->fieldTypes;
    }