mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-11-14 01:06:12 +01:00
Daniel Siepmann
775db67efa
Allows to select a single tourist attraction. Provides static TypoScript to resolve reference for Fluid based rendering.
18 lines
518 B
PHP
18 lines
518 B
PHP
<?php
|
|
|
|
defined('TYPO3') or die();
|
|
|
|
(static function (string $extensionKey, string $tableName) {
|
|
$languagePath = \WerkraumMedia\ThueCat\Extension::getLanguagePath()
|
|
. 'locallang_tca.xlf:' . $tableName;
|
|
|
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItemGroup(
|
|
$tableName,
|
|
'CType',
|
|
\WerkraumMedia\ThueCat\Extension::TCA_SELECT_GROUP_IDENTIFIER,
|
|
$languagePath . '.group'
|
|
);
|
|
})(
|
|
\WerkraumMedia\ThueCat\Extension::EXTENSION_KEY,
|
|
'tt_content'
|
|
);
|