‪TYPO3CMS  ‪main
TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand Class Reference
Inheritance diagram for TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand:

Public Member Functions

 __construct (private readonly ConnectionPool $connectionPool, private readonly FlexFormTools $flexFormTools,)
 
 configure ()
 

Protected Member Functions

 execute (InputInterface $input, OutputInterface $output)
 

Detailed Description

Checks and clean up TCA records with a FlexForm which include values that don't match the connected FlexForm data structure.

Definition at line 36 of file CleanFlexFormsCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand::__construct ( private readonly ConnectionPool  $connectionPool,
private readonly FlexFormTools  $flexFormTools 
)

Definition at line 38 of file CleanFlexFormsCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand::configure ( )

Configure the command by defining the name, options and arguments

Definition at line 48 of file CleanFlexFormsCommand.php.

◆ execute()

TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the command to find and update records with FlexForms where the values do not match the datastructures

Definition at line 63 of file CleanFlexFormsCommand.php.

References $GLOBALS, $output, TYPO3\CMS\Webhooks\Message\$record, and TYPO3\CMS\Core\Database\Connection\PARAM_STR.