‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Configuration\Tca\TcaMigration Class Reference

Public Member Functions

 migrate (array $tca)
 
array getMessages ()
 

Protected Member Functions

 validateTcaType (array $tca)
 
 migrateColumnsConfig (array $tca)
 
array migratePagesLanguageOverlayRemoval (array $tca)
 
array removeEnableMultiSelectFilterTextfieldConfiguration (array $tca)
 
array removeSelIconFieldPath (array $tca)
 
array removeSetToDefaultOnCopy (array $tca)
 
 sanitizeControlSectionIntegrity (array $tca)
 
 removeExcludeFieldForTransOrigPointerField (array $tca)
 
 removeShowRecordFieldListField (array $tca)
 
array removeWorkspacePlaceholderShadowColumnsConfiguration (array $tca)
 
 migrateLanguageFieldToTcaTypeLanguage (array $tca)
 
 migrateSpecialLanguagesToTcaTypeLanguage (array $tca)
 
 removeShowRemovedLocalizationRecords (array $tca)
 
 migrateFileFolderConfiguration (array $tca)
 
 migrateLevelLinksPosition (array $tca)
 
 migrateRootUidToStartingPoints (array $tca)
 
 migrateInternalTypeFolderToTypeFolder (array $tca)
 
 migrateRequiredFlag (array $tca)
 
 migrateNullFlag (array $tca)
 
 migrateEmailFlagToEmailType (array $tca)
 
 migrateTypeNoneColsToSize (array $tca)
 
 migrateRenderTypeInputLinkToTypeLink (array $tca)
 
 migratePasswordAndSaltedPasswordToPasswordType (array $tca)
 
 migrateRenderTypeInputDateTimeToTypeDatetime (array $tca)
 
 migrateRenderTypeColorpickerToTypeColor (array $tca)
 
 removeAuthModeEnforce (array $tca)
 
 removeSelectAuthModeIndividualItemsKeyword (array $tca)
 
 migrateAuthMode (array $tca)
 
 migrateEvalIntAndDouble2ToTypeNumber (array $tca)
 
 removeAlwaysDescription (array $tca)
 
 removeCtrlCruserId (array $tca)
 
 migrateFalHandlingInInlineToTypeFile (array $tca)
 
 removeFalRelatedElementBrowserOptions (array $tca)
 
 removeFalRelatedOptionsFromTypeInline (array $tca)
 
 removePassContentFromTypeNone (array $tca)
 
 migrateItemsToAssociativeArray (array $tca)
 
 removeMmInsertFields (array $tca)
 
 removeMmHasUidField (array $tca)
 
 migrateT3EditorToCodeEditor (array $tca)
 

Protected Attributes

array $messages = []
 

Detailed Description

Migrate TCA from old to new syntax. Used in bootstrap and Flex Form Data Structures.

Class and API may change any time.

Definition at line 30 of file TcaMigration.php.

Member Function Documentation

◆ getMessages()

array TYPO3\CMS\Core\Configuration\Tca\TcaMigration::getMessages ( )

Get messages of migrated fields. Can be used for deprecation messages after migrate() was called.

Returns
‪array Migration messages

Definition at line 96 of file TcaMigration.php.

References TYPO3\CMS\Core\Configuration\Tca\TcaMigration\$messages.

◆ migrate()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrate ( array  $tca)

Run some general TCA validations, then migrate old TCA to new TCA.

This class is typically called within bootstrap with empty caches after all TCA files from extensions have been loaded. The migration is then applied and the migrated result is cached. For flex form TCA, this class is called dynamically if opening a record in the backend.

See unit tests for details.

Definition at line 45 of file TcaMigration.php.

References $tca, TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateAuthMode(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateColumnsConfig(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateEmailFlagToEmailType(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateEvalIntAndDouble2ToTypeNumber(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateFalHandlingInInlineToTypeFile(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateFileFolderConfiguration(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateInternalTypeFolderToTypeFolder(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateItemsToAssociativeArray(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateLanguageFieldToTcaTypeLanguage(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateLevelLinksPosition(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateNullFlag(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migratePagesLanguageOverlayRemoval(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migratePasswordAndSaltedPasswordToPasswordType(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateRenderTypeColorpickerToTypeColor(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateRenderTypeInputDateTimeToTypeDatetime(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateRenderTypeInputLinkToTypeLink(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateRequiredFlag(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateRootUidToStartingPoints(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateSpecialLanguagesToTcaTypeLanguage(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateT3EditorToCodeEditor(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateTypeNoneColsToSize(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeAlwaysDescription(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeAuthModeEnforce(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeCtrlCruserId(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeEnableMultiSelectFilterTextfieldConfiguration(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeExcludeFieldForTransOrigPointerField(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeFalRelatedElementBrowserOptions(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeFalRelatedOptionsFromTypeInline(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeMmHasUidField(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeMmInsertFields(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removePassContentFromTypeNone(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeSelectAuthModeIndividualItemsKeyword(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeSelIconFieldPath(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeSetToDefaultOnCopy(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeShowRecordFieldListField(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeShowRemovedLocalizationRecords(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\removeWorkspacePlaceholderShadowColumnsConfiguration(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\sanitizeControlSectionIntegrity(), and TYPO3\CMS\Core\Configuration\Tca\TcaMigration\validateTcaType().

◆ migrateAuthMode()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateAuthMode ( array  $tca)
protected

See if ['columns'][aField]['config']['authMode'] is not set to 'explicitAllow' and set it to this value if needed.

Definition at line 1012 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateColumnsConfig()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateColumnsConfig ( array  $tca)
protected

Find columns fields that don't have a 'config' section at all, add ['config']['type'] = 'none'; for those to enforce config

Parameters
array$tca‪Incoming TCA

Definition at line 129 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateEmailFlagToEmailType()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateEmailFlagToEmailType ( array  $tca)
protected

Migrates [config][eval] = 'email' to [config][type] = 'email' and removes 'email' from [config][eval]. If [config][eval] contains 'trim', it will also be removed. If [config][eval] becomes empty, the option will be removed completely.

Definition at line 622 of file TcaMigration.php.

References $tca, TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateEvalIntAndDouble2ToTypeNumber()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateEvalIntAndDouble2ToTypeNumber ( array  $tca)
protected

Migrates [config][eval] = 'int' and [config][eval] = 'double2' to [config][type] = 'number'. The migration only applies to fields without a renderType defined. Adds [config][format] = "decimal" if [config][eval] = double2 Removes [config][eval]. Removes option [config][max], if set.

Definition at line 1041 of file TcaMigration.php.

References $tca, TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateFalHandlingInInlineToTypeFile()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateFalHandlingInInlineToTypeFile ( array  $tca)
protected

Migrates type='inline' with foreign_table='sys_file_reference' to type='file'. Removes table relation related options. Removes no longer available appearance options. Detects usage of "customControls" hook. Migrates renamed appearance options. Migrates allowed file extensions.

Definition at line 1135 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateFileFolderConfiguration()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateFileFolderConfiguration ( array  $tca)
protected

Moves the "fileFolder" configuration of TCA columns type=select into sub array "fileFolderConfig", while renaming those options.

Definition at line 406 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateInternalTypeFolderToTypeFolder()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateInternalTypeFolderToTypeFolder ( array  $tca)
protected

Migrates [config][internal_type] = 'folder' to [config][type] = 'folder'. Also removes [config][internal_type] completely, if present.

Definition at line 512 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateItemsToAssociativeArray()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateItemsToAssociativeArray ( array  $tca)
protected

Converts the item list of type "select", "radio" and "check" to an associated array.

// From: [ 0 => 'A label', 1 => 'value', 2 => 'icon-identifier', 3 => 'group1', 4 => 'a custom description' ]

// To: [ 'label' => 'A label', 'value' => 'value', 'icon' => 'icon-identifier', 'group' => 'group1', 'description' => 'a custom description' ]

Definition at line 1389 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateLanguageFieldToTcaTypeLanguage()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateLanguageFieldToTcaTypeLanguage ( array  $tca)
protected

Replaces $TCA[$mytable][columns][$TCA[$mytable][ctrl][languageField]][config] with $TCA[$mytable][columns][$TCA[$mytable][ctrl][languageField]][config][type] = 'language'

Definition at line 333 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateLevelLinksPosition()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateLevelLinksPosition ( array  $tca)
protected

The [appearance][levelLinksPosition] option can be used to select the position of the level links. This option was previously misused to disable all those links by setting it to "none". Since all of those links can be disabled by a dedicated option, e.g. showNewRecordLink, this wizard sets those options to false and unsets the invalid levelLinksPosition value.

Definition at line 451 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateNullFlag()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateNullFlag ( array  $tca)
protected

Migrates [config][eval] = 'null' to [config][nullable] = true and removes 'null' from [config][eval]. If [config][eval] becomes empty, it will be removed completely.

Definition at line 582 of file TcaMigration.php.

References $tca, TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migratePagesLanguageOverlayRemoval()

array TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migratePagesLanguageOverlayRemoval ( array  $tca)
protected

Removes $TCA['pages_language_overlay'] if defined.

Returns
‪array the modified TCA structure

Definition at line 154 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migratePasswordAndSaltedPasswordToPasswordType()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migratePasswordAndSaltedPasswordToPasswordType ( array  $tca)
protected

Migrates [config][eval] = 'password' and [config][eval] = 'saltedPassword' to [config][type] = 'password' Sets option "hashed" to FALSE if "saltedPassword" is not set for "password" Removes option [config][eval]. Removes option [config][max], if set. Removes option [config][search], if set.

Definition at line 792 of file TcaMigration.php.

References $tca, TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateRenderTypeColorpickerToTypeColor()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateRenderTypeColorpickerToTypeColor ( array  $tca)
protected

Migrates [config][renderType] = 'colorpicker' to [config][type] = 'color'. Removes [config][eval]. Removes option [config][max], if set.

Definition at line 919 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateRenderTypeInputDateTimeToTypeDatetime()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateRenderTypeInputDateTimeToTypeDatetime ( array  $tca)
protected

Migrates [config][renderType] = 'inputDateTime' to [config][type] = 'datetime'. Migrates "date", "time" and "timesec" from [config][eval] to [config][format]. Removes option [config][eval]. Removes option [config][max], if set. Removes option [config][format], if set. Removes option [config][default], if the default is the native "empty" value

Definition at line 843 of file TcaMigration.php.

References $tca, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Database\Query\QueryHelper\getDateTimeFormats(), TYPO3\CMS\Core\Database\Query\QueryHelper\getDateTimeTypes(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateRenderTypeInputLinkToTypeLink()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateRenderTypeInputLinkToTypeLink ( array  $tca)
protected

Migrates [config][renderType] = 'inputLink' to [config][type] = 'link'. Migrates the [config][fieldConfig][linkPopup] to type specific configuration. Removes option [config][eval]. Removes option [config][max], if set. Removes option [config][softref], if set to "typolink".

Definition at line 699 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateRequiredFlag()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateRequiredFlag ( array  $tca)
protected

Migrates [config][eval] = 'required' to [config][required] = true and removes 'required' from [config][eval]. If [config][eval] becomes empty, it will be removed completely.

Definition at line 543 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateRootUidToStartingPoints()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateRootUidToStartingPoints ( array  $tca)
protected

If a column has [treeConfig][rootUid] defined, migrate to [treeConfig][startingPoints] on the same level.

Definition at line 482 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateSpecialLanguagesToTcaTypeLanguage()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateSpecialLanguagesToTcaTypeLanguage ( array  $tca)
protected

Replaces $TCA[$mytable][columns][field][config][special] = 'languages' with $TCA[$mytable][columns][field][config][type] = 'language'

Definition at line 356 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ migrateT3EditorToCodeEditor()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateT3EditorToCodeEditor ( array  $tca)
protected

◆ migrateTypeNoneColsToSize()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::migrateTypeNoneColsToSize ( array  $tca)
protected

Migrates type => "none" [config][cols] to [config][size] and removes "cols".

Definition at line 669 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeAlwaysDescription()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeAlwaysDescription ( array  $tca)
protected

Removes ['interface']['always_description'] and also ['interface'] if always_description was the only key in the array.

Definition at line 1095 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeAuthModeEnforce()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeAuthModeEnforce ( array  $tca)
protected

Remove ['columns'][aField]['config']['authMode_enforce']

Definition at line 957 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeCtrlCruserId()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeCtrlCruserId ( array  $tca)
protected

Remove ['ctrl']['cruser_id'].

Definition at line 1114 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeEnableMultiSelectFilterTextfieldConfiguration()

array TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeEnableMultiSelectFilterTextfieldConfiguration ( array  $tca)
protected

Removes configuration removeEnableMultiSelectFilterTextfield

Returns
‪array the modified TCA structure

Definition at line 170 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeExcludeFieldForTransOrigPointerField()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeExcludeFieldForTransOrigPointerField ( array  $tca)
protected

Removes $TCA[$mytable][columns][transOrigPointerField][exclude] if defined

Definition at line 267 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeFalRelatedElementBrowserOptions()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeFalRelatedElementBrowserOptions ( array  $tca)
protected

Removes the [appearance][elementBrowserType] and [appearance][elementBrowserAllowed] options from TCA type "group" fields.

Definition at line 1263 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeFalRelatedOptionsFromTypeInline()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeFalRelatedOptionsFromTypeInline ( array  $tca)
protected

Removes the following options from TCA type "inline" fields:

  • ‪[appearance][headerThumbnail]
  • ‪[appearance][fileUploadAllowed]
  • ‪[appearance][fileByUrlAllowed]

Definition at line 1306 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeMmHasUidField()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeMmHasUidField ( array  $tca)
protected

◆ removeMmInsertFields()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeMmInsertFields ( array  $tca)
protected

◆ removePassContentFromTypeNone()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removePassContentFromTypeNone ( array  $tca)
protected

Removes ['config']['pass_content'] from TCA type "none" fields

Definition at line 1348 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeSelectAuthModeIndividualItemsKeyword()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeSelectAuthModeIndividualItemsKeyword ( array  $tca)
protected

If a column has authMode=individual and items with the corresponding key on position 5 defined, or if EXPL_ALLOW or EXPL_DENY is set for position 6, migrate or remove them.

Definition at line 979 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeSelIconFieldPath()

array TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeSelIconFieldPath ( array  $tca)
protected

Removes $TCA[$mytable][ctrl][selicon_field_path]

Returns
‪array the modified TCA structure

Definition at line 195 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeSetToDefaultOnCopy()

array TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeSetToDefaultOnCopy ( array  $tca)
protected

Removes $TCA[$mytable][ctrl][setToDefaultOnCopy]

Returns
‪array the modified TCA structure

Definition at line 213 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeShowRecordFieldListField()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeShowRecordFieldListField ( array  $tca)
protected

Removes $TCA[$mytable]['interface']['showRecordFieldList'] and also $TCA[$mytable]['interface'] if showRecordFieldList was the only key in the array.

Definition at line 287 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeShowRemovedLocalizationRecords()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeShowRemovedLocalizationRecords ( array  $tca)
protected

Definition at line 380 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ removeWorkspacePlaceholderShadowColumnsConfiguration()

array TYPO3\CMS\Core\Configuration\Tca\TcaMigration::removeWorkspacePlaceholderShadowColumnsConfiguration ( array  $tca)
protected

Removes $TCA[$mytable][ctrl][shadowColumnsForMovePlaceholders] and $TCA[$mytable][ctrl][shadowColumnsForNewPlaceholders]

Returns
‪array the modified TCA structure

Definition at line 310 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ sanitizeControlSectionIntegrity()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::sanitizeControlSectionIntegrity ( array  $tca)
protected

Ensures that system internal columns that are required for data integrity (e.g. localize or copy a record) are available in case they have been defined in $GLOBALS['TCA'][<table-name>]['ctrl'].

The list of references to usages below is not necessarily complete.

See also
‪\TYPO3\CMS\Core\DataHandling\DataHandler::fillInFieldArray()

Definition at line 235 of file TcaMigration.php.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

◆ validateTcaType()

TYPO3\CMS\Core\Configuration\Tca\TcaMigration::validateTcaType ( array  $tca)
protected

Check for required TCA configuration

Parameters
array$tca‪Incoming TCA

Definition at line 106 of file TcaMigration.php.

References $tca.

Referenced by TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrate().

Member Data Documentation

◆ $messages

array TYPO3\CMS\Core\Configuration\Tca\TcaMigration::$messages = []
protected