Class

eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeNameableCollectionFactory

class FieldTypeNameableCollectionFactory implements ContainerAwareInterface

Methods

registerNameableFieldType(string $nameableFieldTypeServiceId, string $fieldTypeAlias)

Registers an eZ Publish field type.

registerNonNameableFieldType($fieldTypeServiceId, $fieldTypeAlias)

Registers an eZ Publish field type.

Closure[] getNameableFieldTypes()

Returns registered field types (as closures to be lazy loaded in the public API).

Details

at line 33
public registerNameableFieldType(string $nameableFieldTypeServiceId, string $fieldTypeAlias)

Registers an eZ Publish field type.

Field types are being registered as a closure so that they will be lazy loaded.

Parameters

string $nameableFieldTypeServiceId The field type nameable service Id
string $fieldTypeAlias The field type alias (e.g. "ezstring")

at line 48
public registerNonNameableFieldType($fieldTypeServiceId, $fieldTypeAlias)

Registers an eZ Publish field type.

Field types are being registered as a closure so that they will be lazy loaded.

Parameters

$fieldTypeServiceId
$fieldTypeAlias

at line 61
public Closure[] getNameableFieldTypes()

Returns registered field types (as closures to be lazy loaded in the public API).

Return Value

Closure[]