DataHandlerInternalWorkspaceTablesHook
Read onlyYes
FinalYes
Act upon changes of sys_workspace and sys_workspace_stage records.
This is a specific hook implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- processCmdmap_postProcess() : void
- Act upon deletion of sys_workspace and sys_workspace_stage rows: * When a sys_workspace is deleted, *all* records of this workspace are discarded.
- processDatamap_afterAllOperations() : void
- Trigger top bar update if a sys_workspace record has been changed or created to renew state of the workspace toolbar item.
Methods
__construct()
public
__construct(TcaSchemaFactory $tcaSchemaFactory, ConnectionPool $connectionPool) : mixed
Parameters
- $tcaSchemaFactory : TcaSchemaFactory
- $connectionPool : ConnectionPool
processCmdmap_postProcess()
Act upon deletion of sys_workspace and sys_workspace_stage rows: * When a sys_workspace is deleted, *all* records of this workspace are discarded.
public
processCmdmap_postProcess(string $command, string $table, int $uid, mixed $_, DataHandler $dataHandler) : void
- When a sys_workspace_stage is deleted, all workspace records of this stage are set to "editing" stage.
Parameters
- $command : string
- $table : string
- $uid : int
- $_ : mixed
- $dataHandler : DataHandler
processDatamap_afterAllOperations()
Trigger top bar update if a sys_workspace record has been changed or created to renew state of the workspace toolbar item.
public
processDatamap_afterAllOperations(DataHandler $dataHandler) : void
Parameters
- $dataHandler : DataHandler