‪TYPO3CMS  10.4
TYPO3\CMS\Install\Service\LoadTcaService Class Reference

Public Member Functions

 __construct (LateBootService $lateBootService)
 
 loadExtensionTablesWithoutMigration ()
 
 loadSingleExtTablesFile (string $extensionKey)
 

Private Attributes

LateBootService $lateBootService
 

Detailed Description

Service for loading the TCA

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 26 of file LoadTcaService.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Service\LoadTcaService::__construct ( LateBootService  $lateBootService)

Member Function Documentation

◆ loadExtensionTablesWithoutMigration()

TYPO3\CMS\Install\Service\LoadTcaService::loadExtensionTablesWithoutMigration ( )

Load TCA Mostly a copy of ExtensionManagementUtility to include TCA without migrations. To be used in install tool only.

This will set up $GLOBALS['TCA']

See also
‪\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::buildBaseTcaFromSingleFiles

Definition at line 46 of file LoadTcaService.php.

References $GLOBALS, TYPO3\CMS\Core\Category\CategoryRegistry\applyTcaForPreRegisteredTables(), and TYPO3\CMS\Core\Category\CategoryRegistry\getInstance().

◆ loadSingleExtTablesFile()

TYPO3\CMS\Install\Service\LoadTcaService::loadSingleExtTablesFile ( string  $extensionKey)

Load ext_tables.php of a single extension

Parameters
string$extensionKey‪The extension to load an ext_tables.php file from.

Definition at line 105 of file LoadTcaService.php.

Member Data Documentation

◆ $lateBootService

LateBootService TYPO3\CMS\Install\Service\LoadTcaService::$lateBootService
private