first commit
This commit is contained in:
commit
e81864e683
2984 files changed
+267797
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of the package bk2k/bootstrap-package.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace BK2K\BootstrapPackage\Userfuncs;
|
||||
|
||||
use TYPO3\CMS\Backend\Utility\BackendUtility;
|
||||
|
||||
class Tca
|
||||
{
|
||||
public function timelineItemLabel(array &$parameters): void
|
||||
{
|
||||
$record = BackendUtility::getRecord($parameters['table'], $parameters['row']['uid']) ?? [];
|
||||
$parameters['title'] = ($record['date'] ?? '') . ' - ' . ($record['header'] ?? '');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user