WorkspaceMovePlaceholderRemovalMigration implements RowUpdaterInterface, LoggerAwareInterface uses LoggerAwareTrait
Removes all records of type MOVE_PLACEHOLDER (t3ver_state = 3) from the system.
Also makes sure that the important values (that is: pid and sorting) are migrated into the connected MOVE_POINTER (t3ver_state=4).
move placeholder (t3ver_state=3) contains t3ver_move_id = UID of live version move pointer (t3ver_state=4) contains t3ver_oid = UID of live version
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Table of Contents
Interfaces
- RowUpdaterInterface
- Interface each single row updater must implement.
- LoggerAwareInterface
Methods
- getTitle() : string
- Get a description of this single row updater
- hasPotentialUpdateForTable() : bool
- Return true if this row updater may have updates for given table rows.
- updateTableRow() : array<string|int, mixed>
- Update "pid" field and delete the move placeholder record completely
Methods
getTitle()
Get a description of this single row updater
public
getTitle() : string
Return values
stringhasPotentialUpdateForTable()
Return true if this row updater may have updates for given table rows.
public
hasPotentialUpdateForTable(string $tableName) : bool
Parameters
- $tableName : string
-
Table name to check
Return values
bool —Return true if a table has workspace enabled
updateTableRow()
Update "pid" field and delete the move placeholder record completely
public
updateTableRow(string $tableName, array<string|int, mixed> $row) : array<string|int, mixed>
Parameters
- $tableName : string
-
Table name
- $row : array<string|int, mixed>
-
Given row data
Return values
array<string|int, mixed> —Modified row data