AlterTableDefinitionStatementsEvent

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

API

class 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(unknown data)
Parameters:
  • $data (unknown) – the data
getSqlData()
Return type:array
setSqlData(array sqlData)
Parameters:
  • $sqlData (array) – the sqlData