add support for back end programming
The extension static_info_tables is no Front End plugin. It is only a library to be called by other extensions.
Therefore it should not have the class TYPO3\CMS\Frontend\Plugin\AbstractPlugin as a requirement.
class PiBaseApi extends AbstractPlugin
I just wanted to use it from the back end, and it hangs in an error message.
Call to a member function getLanguage() on null
in /my/path/typo3_src->10.4.10/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php line 237
$this->LLkey = $this->frontendController->getLanguage()->getTypo3Language();
It is called like this:
$class = 'SJBR\\StaticInfoTables\\PiBaseApi'; static::$staticInfo = GeneralUtility::makeInstance($class);
Both front end and back end should be supported.
No data to display