FileStorageConfigurationMigration implements UpgradeWizardInterface, ChattyInterface

FinalYes

Moves the rows of the former sys_file_storage table into config/system/file-storages.yaml. Runs before the table is dropped.

Internal

This class is only meant to be used within EXT:core and is not part of the TYPO3 Core API.

Attributes
#[UpgradeWizard]
'fileStorageConfigurationMigration'

Table of Contents

Interfaces

UpgradeWizardInterface
Interface UpgradeWizardInterface
ChattyInterface
Is this upgradeWizard chatty aka does it need to output things?

Methods

__construct()  : mixed
executeUpdate()  : bool
Execute the update
getDescription()  : string
Return the description for this wizard
getPrerequisites()  : string[]
Returns an array of class names of Prerequisite classes
getTitle()  : string
Return the speaking name of this wizard
setOutput()  : void
Setter injection for output into upgrade wizards
updateNecessary()  : bool
Is an update necessary?

Methods

executeUpdate()

Execute the update

public executeUpdate() : bool

Called when a wizard reports that an update is necessary

Return values
bool

getDescription()

Return the description for this wizard

public getDescription() : string
Return values
string

getPrerequisites()

Returns an array of class names of Prerequisite classes

public getPrerequisites() : string[]

This way a wizard can define dependencies like "database up-to-date" or "reference index updated"

Return values
string[]

getTitle()

Return the speaking name of this wizard

public getTitle() : string
Return values
string

setOutput()

Setter injection for output into upgrade wizards

public setOutput(OutputInterface $output) : void
Parameters
$output : OutputInterface

updateNecessary()

Is an update necessary?

public updateNecessary() : bool

Is used to determine whether a wizard needs to be run. Check if data for migration exists.

Return values
bool
On this page

Search results