LanguageAwareSchemaCapability

final readonly class \TYPO3\CMS\Core\Schema\Capability\LanguageAwareSchemaCapability

Implements
SchemaCapabilityInterface

Contains all information if a schema is language-aware, meaning it has a "languageField", a "translationOrigPointerField", maybe a "translationSourceField" and maybe a "diffSourceField".

Table of Contents

Interfaces

SchemaCapabilityInterface
A semantic interface for any kind of capability.

Methods

__construct()  : mixed
getDiffSourceField()  : FieldTypeInterface|null
diffSourceField->getName() typically resolves to 'l10n_diffsource' or 'l18n_diffsource'
getLanguageField()  : LanguageFieldType
languageField->getName() typically resolves to 'sys_language_uid'
getTranslationOriginPointerField()  : FieldTypeInterface
translationOriginPointerField->getName() typically resolves to 'l10n_parent' or 'l18n_parent'
getTranslationSourceField()  : FieldTypeInterface|null
hasDiffSourceField()  : bool
hasTranslationSourceField()  : bool

Methods

getTranslationOriginPointerField()

translationOriginPointerField->getName() typically resolves to 'l10n_parent' or 'l18n_parent'

public getTranslationOriginPointerField() : FieldTypeInterface

Return values

FieldTypeInterface

hasDiffSourceField()

public hasDiffSourceField() : bool

Return values

bool

hasTranslationSourceField()

public hasTranslationSourceField() : bool

Return values

bool
On this page