a2g_travel_blog/Configuration/TCA/Overrides/301_tx_a2gmaps_domain_model_marker.php

27 lines
805 B
PHP
Raw Permalink Normal View History

2023-12-04 16:40:27 +01:00
<?php
/*
* This file is part of the package t3g/blog.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/
if (!defined('TYPO3')) {
die('Access denied.');
}
$ll = 'LLL:EXT:a2g_travel_blog/Resources/Private/Language/locallang_db.xlf:';
$GLOBALS['TCA']['tx_a2gmaps_domain_model_marker']['columns'] = array_replace_recursive(
$GLOBALS['TCA']['tx_a2gmaps_domain_model_marker']['columns'],
[
'rel_travel_author' => [
'label' => 'rel_travel_author',
'config' => [
'type' => 'passthrough'
]
]
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tx_a2gmaps_domain_model_marker', 'travel_author', 'rel_travel_author');