Property | Type | Description | |
---|---|---|---|
$settingsSchema | |||
$validatorConfigurationSchema |
Method | Description | |
---|---|---|
fromHash ( mixed $hash ) : eZ\Publish\Core\FieldType\TextBlock\Value | Converts an $hash to the Value defined by the field type. | |
getEmptyValue ( ) : eZ\Publish\Core\FieldType\TextBlock\Value | Returns the fallback default value of field type when no such default value is provided in the field definition in content types. | |
getFieldTypeIdentifier ( ) : string | Returns the field type identifier for this field type. | |
getName ( eZ\Publish\SPI\FieldType\Value $value ) : string | Returns the name of the given field value. | |
isEmptyValue ( eZ\Publish\SPI\FieldType\Value $value ) : boolean | Returns if the given $value is considered empty by the field type. | |
isSearchable ( ) : boolean | Returns whether the field type is searchable. | |
toHash ( eZ\Publish\SPI\FieldType\Value $value ) : mixed | Converts a $Value to a hash. | |
validateFieldSettings ( mixed $fieldSettings ) : eZ\Publish\SPI\FieldType\ValidationError[] | Validates the fieldSettings of a FieldDefinitionCreateStruct or FieldDefinitionUpdateStruct. |
Method | Description | |
---|---|---|
checkValueStructure ( |
Throws an exception if value structure is not of expected format. | |
createValueFromInput ( string | eZ\Publish\Core\FieldType\TextBlock\Value $inputValue ) : eZ\Publish\Core\FieldType\TextBlock\Value | Inspects given $inputValue and potentially converts it into a dedicated value object. | |
getSortInfo ( |
Returns information for FieldValue->$sortKey relevant to the field type. |
protected checkValueStructure ( |
||
$value |
protected createValueFromInput ( string | eZ\Publish\Core\FieldType\TextBlock\Value $inputValue ) : eZ\Publish\Core\FieldType\TextBlock\Value | ||
$inputValue | string | eZ\Publish\Core\FieldType\TextBlock\Value | |
return | eZ\Publish\Core\FieldType\TextBlock\Value | The potentially converted and structurally plausible value. |
public getEmptyValue ( ) : eZ\Publish\Core\FieldType\TextBlock\Value | ||
return | eZ\Publish\Core\FieldType\TextBlock\Value |
public getFieldTypeIdentifier ( ) : string | ||
return | string |
protected getSortInfo ( |
||
$value | ||
return | array |
public isEmptyValue ( eZ\Publish\SPI\FieldType\Value $value ) : boolean | ||
$value | eZ\Publish\SPI\FieldType\Value | |
return | boolean |
public isSearchable ( ) : boolean | ||
return | boolean |
public validateFieldSettings ( mixed $fieldSettings ) : eZ\Publish\SPI\FieldType\ValidationError[] | ||
$fieldSettings | mixed | |
return | eZ\Publish\SPI\FieldType\ValidationError[] |