Interface

eZ\Publish\API\Repository\FieldTypeService

interface FieldTypeService

An implementation of this class provides access to FieldTypes.

Methods

FieldType[] getFieldTypes()

Returns a list of all field types.

FieldType getFieldType(string $identifier)

Returns the FieldType registered with the given identifier.

bool hasFieldType(string $identifier)

Returns if there is a FieldType registered under $identifier.

Details

at line 23
public FieldType[] getFieldTypes()

Returns a list of all field types.

Return Value

FieldType[]

at line 35
public FieldType getFieldType(string $identifier)

Returns the FieldType registered with the given identifier.

Parameters

string $identifier

Return Value

FieldType

Exceptions

NotFoundException if there is no FieldType registered with $identifier

at line 44
public bool hasFieldType(string $identifier)

Returns if there is a FieldType registered under $identifier.

Parameters

string $identifier

Return Value

bool