Class

eZ\Publish\Core\FieldType\NameableFieldTypeFallback

class NameableFieldTypeFallback implements Nameable

Class NameableFieldTypeFallback.

Provides fallback to for all FieldTypes that don't have a Nameable FieldType service, by falling back to using the older, but limited FieldType->getName() method.

Methods

__construct(FieldType $fieldType)

string getFieldName(Value $value, FieldDefinition $fieldDefinition, string $languageCode)

Details

at line 32
public __construct(FieldType $fieldType)

Parameters

FieldType $fieldType

at line 44
public string getFieldName(Value $value, FieldDefinition $fieldDefinition, string $languageCode)

Parameters

Value $value
FieldDefinition $fieldDefinition
string $languageCode

Return Value

string