Project

General

Profile

Bug #88545 » ext_localconf.php

./ext_localconf.php - Benjamin Serfhos, 2020-05-04 10:46

 
<?php

defined('TYPO3_MODE') or die('Access denied.');

call_user_func(function ($extension): void {
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)
->connect(
\TYPO3\CMS\Seo\Canonical\CanonicalGenerator::class,
'beforeGeneratingCanonical',
\Serfhos\MyExample\Canonical\LanguageFallbackCanonicalGenerator::class,
'checkForActiveLanguageFallback'
);
}, 'my_example');
(1-1/2)