Skip to content

Commit 50f6b2a

Browse files
committed
[TASK] Remove superfluous Hook
The TCEmainHook.php was intentionally added allowing the override of the cmdMap array inside the DataHandler. As this was in older versions bad practice and the DataHandler hardening in v13 enforced `deepltranslate-core` introducing an own translation command as best practice, the hook allowing `localization` inside the cmdMap array is superfluous.
1 parent 2b8c084 commit 50f6b2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Classes/Configuration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace WebVision\Deepltranslate\Core;
66

7+
use Symfony\Component\DependencyInjection\Attribute\AsAlias;
78
use TYPO3\CMS\Backend\Utility\BackendUtility;
89
use Symfony\Component\DependencyInjection\Attribute\AsAlias;
910
use TYPO3\CMS\Core\Configuration\Exception\ExtensionConfigurationExtensionNotConfiguredException;

0 commit comments

Comments
 (0)