Deprecation: #85646 - Deprecate eID implemented as script¶
Calling a frontend eID as a direct script call has been marked as deprecated.
Setting a PHP eID include like this triggers PHP
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['myEid'] = 'EXT:myExt/Resources/Php/MyAjax.php';
This is not valid anymore. Instead, a class / method combination should be used:
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['myEid'] = \MyVendor\MyExt\Controller\MyEidController::class . '::myMethod';
The main difference is that a script call does not execute code if calling
it directly anymore, but needs a proper registration including an entry method to be called.
This increases encapsulation and security.
eIDs which are registered with a direct script include trigger a PHP
3rd party extensions which implement eIDs with a script to a file instead of a class->method combination.
Register eID with a class::method syntax like