Skip to content

Instantly share code, notes, and snippets.

View Chrisswald's full-sized avatar

Christian Osswald Chrisswald

View GitHub Profile
@helhum
helhum / Configuration-TCA-Overrides-tt_content.php
Created August 18, 2023 13:08
Add Topwire fields to tt_content elements
<?php
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
(static function (): void {
$columns = [
'tx_turbo_wrap_in_frame' => [
'label' => 'Wrap in Turbo frame',
@helhum
helhum / CacheWarmingFrontend.php
Created March 22, 2019 15:01
TYPO3 Cache Warming
<?php
declare(strict_types=1);
namespace Helhum\SitePackage\Cache\Frontend;
use TYPO3\CMS\Core\Cache\Backend\BackendInterface;
use TYPO3\CMS\Core\Cache\Frontend\VariableFrontend;
use TYPO3\CMS\Core\Core\Environment;
use TYPO3\CMS\Core\Http\ServerRequestFactory;
class CacheWarmingFrontend extends VariableFrontend