private function gatherInformation()
    {
        /** @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager */
        $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
        /** @var ListUtility $service */
        $service = $objectManager->get('TYPO3\\CMS\\Extensionmanager\\Utility\\ListUtility');

        $extensionInformation = $service->getAvailableExtensions();
        foreach ($extensionInformation as $extensionKey => $info) {
            if (true === array_key_exists($extensionKey, $GLOBALS['TYPO3_LOADED_EXT'])) {
                $extensionInformation[$extensionKey]['installed'] = 1;
            } else {
                $extensionInformation[$extensionKey]['installed'] = 0;
            }
        }
        return $extensionInformation;
    }
private function gatherInformation()
    {
        /** @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager */
        $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
        /** @var ListUtility $service */
        $service = $objectManager->get('TYPO3\\CMS\\Extensionmanager\\Utility\\ListUtility');

        $extensionInformation = $service->getAvailableExtensions();
        foreach ($extensionInformation as $extensionKey => $info) {
            if (true === array_key_exists($extensionKey, $GLOBALS['TYPO3_LOADED_EXT'])) {
                $extensionInformation[$extensionKey]['installed'] = 1;
            } else {
                $extensionInformation[$extensionKey]['installed'] = 0;
            }
        }
        return $extensionInformation;
    }
private function gatherInformation ( ) { /** @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager */ $ objectManager = \ TYPO3 \ CMS \ Core \ Utility \ GeneralUtility :: makeInstance ( ObjectManager :: class ) ; /** @var ListUtility $service */ $ service = $ objectManager -> get ( 'TYPO3\\CMS\\Extensionmanager\\Utility\\ListUtility' ) ; $ extensionInformation = $ service -> getAvailableExtensions ( ) ; foreach ( $ extensionInformation as $ extensionKey => $ info ) { if ( true === array_key_exists ( $ extensionKey , $ GLOBALS [ 'TYPO3_LOADED_EXT' ] ) ) { $ extensionInformation [ $ extensionKey ] [ 'installed' ] = 1 ; } else { $ extensionInformation [ $ extensionKey ] [ 'installed' ] = 0 ; } } return $ extensionInformation ; }
Gathers Extension Information

@return array
Gathers Extension Information