* @return array The TCA columns definition
*/
protected function getControlSection($tableName) {
- $this->includeTca($tableName);
return is_array($GLOBALS['TCA'][$tableName]['ctrl']) ? $GLOBALS['TCA'][$tableName]['ctrl'] : NULL;
}
* @return array The TCA columns definition
*/
protected function getColumnsDefinition($tableName) {
- $this->includeTca($tableName);
return is_array($GLOBALS['TCA'][$tableName]['columns']) ? $GLOBALS['TCA'][$tableName]['columns'] : array();
}
- /**
- * Includes the TCA for the given table
- *
- * @param string $tableName An optional table name to fetch the columns definition from
- * @return void
- */
- protected function includeTca($tableName) {
- if (TYPO3_MODE === 'FE') {
- $GLOBALS['TSFE']->includeTCA();
- }
- \TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA($tableName);
- }
-
/**
* @param DataMap $dataMap
* @param $tableName
$TBE_MODULES['_dispatcher'][] = 'TYPO3\\CMS\\Extbase\\Core\\ModuleRunnerInterface';
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['extbase'][] = 'TYPO3\\CMS\\Extbase\\Utility\\ExtbaseRequirementsCheckUtility';
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('fe_users');
if (!isset($TCA['fe_users']['ctrl']['type'])) {
$tempColumns = array(
'tx_extbase_type' => array(
$TCA['fe_users']['ctrl']['type'] = 'tx_extbase_type';
}
$TCA['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser'] = $TCA['fe_users']['types']['0'];
-\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('fe_groups');
if (!isset($TCA['fe_groups']['ctrl']['type'])) {
$tempColumns = array(
'tx_extbase_type' => array(