Deprecation: #86225 - Classes BaseScriptClass and AbstractFunctionModule¶
See Issue #86225
The two classes
TYPO3\CMS\Backend\Module\BaseScriptClass, also known as
also known as
t3lib_extobjbase have been marked as deprecated and will be removed
in TYPO3 v10.
Using one of the classes will trigger a
BaseScriptClass has been commonly extended by extensions that add own
backend modules and did not rely on extbase for that. There is nothing wrong
with not using extbase, but most of the methods from
were unused by own extensions and hard to understand, too.
AbstractFunctionModule has been extended by some extensions that
add own sub modules to the Page -> Info or the Page -> Template view.
The extension scanner will find possible usages.
A migration is often relatively simple: Extensions that extend
should verify which methods and properties are actually used from the parent class. The
most simple solution is to just copy those over to the own class and remove the
inheritance. It is good practice to at least change their visibility from to
protected at the same time if possible.
Extensions that extend
AbstractFunctionModule should do the same. The main
tstemplate controllers typically only call the methods
of those classes as entry points, those need to be kept public.