AlterTableDefinitionStatementsEvent

The PSR-14 event \TYPO3\CMS\Core\Database\Event\AlterTableDefinitionStatementsEvent allows to intercept the CREATE TABLE statement from all loaded extensions.

Example

API

class AlterTableDefinitionStatementsEvent
Fully qualified name
\TYPO3\CMS\Core\Database\Event\AlterTableDefinitionStatementsEvent

Event to intercept the "CREATE TABLE" statement from all loaded extensions.

The $sqlData variable holds a RAW Array of definitions from each file found.

addSqlData ( ?mixed $data)
param $data

the data

getSqlData ( )
Returns
array
setSqlData ( array $sqlData)
param $sqlData

the sqlData