Files
lena-schilling-website/packages/base/Configuration/TCA/Overrides/tt_content.php
Dominik Polakovics daa02d36d5
All checks were successful
Build / build (push) Successful in 2m28s
Build / deploy-stage (push) Successful in 3m30s
Build / switch-stage (push) Successful in 2m10s
feat: design change to hero and add stats element
2024-12-12 23:52:34 +01:00

14 lines
678 B
PHP

<?php
defined('TYPO3') or die();
// Add the new fields for the stats element to TCA if needed:
// This is only necessary if we need special configuration. By default Content Blocks handles field creation.
// Here we simply ensure that the fields appear in the backend form.
// Register the content element type in tt_content (only if needed, Content Blocks typically handle this automatically):
// $GLOBALS['TCA']['tt_content']['types']['cloonar_stats'] = [
// 'showitem' => 'header, number1, label1, number2, label2, number3, label3, number4, label4'
// ];
// The above is optional if Content Blocks extension is in use and config.yaml fields are applied automatically.