FileFieldType

final readonly class \TYPO3\CMS\Core\Schema\Field\FileFieldType

Extends
AbstractFieldType
Implements
RelationalFieldTypeInterface

This is a field to a "file" (which is very similar to "inline") but with a hard-coded selection to sys_file_reference.

Table of Contents

Interfaces

RelationalFieldTypeInterface
Interface for a schema field that has a relation to somewhere else.

Properties

$configuration  : array
$name  : string

Methods

__construct()  : mixed
__set_state()  : self
getAllowedFileExtensions()  : array
getConfiguration()  : array
getDefaultValue()  : mixed
getDescription()  : string
getDisallowedFileExtensions()  : array
getDisplayConditions()  : array|string
getLabel()  : string
getName()  : string
getRelations()  : ActiveRelation[]
getRelationshipType()  : RelationshipType
getSoftReferenceKeys()  : false
getTranslationBehaviour()  : FieldTranslationBehaviour
getType()  : string
hasDefaultValue()  : false
isNullable()  : false
isRequired()  : bool
isSearchable()  : false
isType()  : bool
supportsAccessControl()  : bool

Properties

$configuration

protected array $configuration

Methods

__construct()

public __construct(string $name, array $configuration, array $relations) : mixed

Parameters

$name : string
$configuration : array
$relations : array

__set_state()

public static __set_state(array $state) : self

Parameters

$state : array

Return values

self

getAllowedFileExtensions()

public getAllowedFileExtensions() : array

Return values

array

getConfiguration()

public getConfiguration() : array

Return values

array

getDefaultValue()

public getDefaultValue() : mixed

getDescription()

public getDescription() : string

Return values

string

getDisallowedFileExtensions()

public getDisallowedFileExtensions() : array

Return values

array

getDisplayConditions()

public getDisplayConditions() : array|string

Return values

array|string

getLabel()

public getLabel() : string

Return values

string

getName()

public getName() : string

Return values

string

getSoftReferenceKeys()

public getSoftReferenceKeys() : false

Return values

false

getType()

public getType() : string

Return values

string

hasDefaultValue()

public hasDefaultValue() : false

Return values

false

isNullable()

public isNullable() : false

Return values

false

isRequired()

public isRequired() : bool

Return values

bool

isSearchable()

public isSearchable() : false

Return values

false

supportsAccessControl()

public supportsAccessControl() : bool

Return values

bool
On this page