/**
  * Loads "columns" of a $TCA table definition if extracted
  * to a "dynamicConfigFile". This method is called after each
  * single ext_tables.php files was included to immediately have
  * the full $TCA ready for the next extension.
  *
  * $TCA[$tableName]['ctrl']['dynamicConfigFile'] must be the
  * absolute path to a file.
  *
  * Be aware that 'dynamicConfigFile' is obsolete, and all TCA
  * table definitions should be moved to Configuration/TCA/tablename.php
  * to be fully loaded automatically.
  *
  * Example:
  * dynamicConfigFile = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'SysNote.php',
  *
  * @return void
  * @throws \RuntimeException
  * @internal Internal use ONLY. It is called by cache files and can not be protected. Do not call yourself!
  */
 public static function loadNewTcaColumnsConfigFiles()
 {
     global $TCA;
     foreach ($TCA as $tableName => $_) {
         if (!isset($TCA[$tableName]['columns'])) {
             $columnsConfigFile = $TCA[$tableName]['ctrl']['dynamicConfigFile'];
             if ($columnsConfigFile) {
                 if (GeneralUtility::isAbsPath($columnsConfigFile)) {
                     include $columnsConfigFile;
                 } else {
                     throw new \RuntimeException('Columns configuration file not found', 1341151261);
                 }
             }
         }
     }
 }