PHP Class eZ\Publish\Core\FieldType\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.
Mostrar archivo
Open project: ezsystems/ezpublish-kernel
Public Methods
Method |
Description |
|
__construct ( eZ\Publish\SPI\FieldType\FieldType $fieldType ) |
|
|
getFieldName ( eZ\Publish\SPI\FieldType\Value $value, eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, string $languageCode ) : string |
|
|
Method Details
__construct()
public method
public __construct ( eZ\Publish\SPI\FieldType\FieldType $fieldType ) |
$fieldType |
eZ\Publish\SPI\FieldType\FieldType |
|
getFieldName()
public method
public getFieldName ( eZ\Publish\SPI\FieldType\Value $value, eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, string $languageCode ) : string |
$value |
eZ\Publish\SPI\FieldType\Value |
|
$fieldDefinition |
eZ\Publish\API\Repository\Values\ContentType\FieldDefinition |
|
$languageCode |
string |
|
return |
string |
|