TransferFormDefinitionCommand extends Command

CLI command to transfer form definitions between storage backends.

Usage examples:

Transfer all forms from extension storage to database

bin/typo3 form:definition:transfer --source=extension --target=database

Transfer a specific form

bin/typo3 form:definition:transfer --source=extension --target=database --form-identifier=contact

Move forms (transfer + delete source)

bin/typo3 form:definition:transfer --source=filemount --target=database --move

Dry-run: preview what would be transferred

bin/typo3 form:definition:transfer --source=extension --target=database --dry-run

Transfer to a specific target location (PID for database)

bin/typo3 form:definition:transfer --source=extension --target=database --target-location=42

Attributes
#[AsCommand]
'form:definition:transfer'
'Transfer form definitions between storage backends'

Table of Contents

Methods

__construct()  : mixed
configure()  : void
execute()  : int

Methods

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

        
On this page

Search results