Core/InternalModule.php
public function getModuleEntries($sType)
    {
        $aReturn = [];
        $aList = oxNew(ModuleList::class)->getModuleConfigParametersByKey($sType);

        if (isset($aList[ $this->getId() ])) {
            $aReturn = $aList[ $this->getId() ];
        }

        return $aReturn;
    }
public function getModuleEntries($sType)
    {
        $aReturn = [];
        $aList = oxNew(ModuleList::class)->getModuleConfigParametersByKey($sType);

        if (isset($aList[ $this->getId() ])) {
            $aReturn = $aList[ $this->getId() ];
        }

        return $aReturn;
    }
Returns array of module files / entries in metadata.php
like 'template' => / 'blocks' => ....
possible entries

ModuleList::MODULE_KEY_FILES = 'files'
ModuleList::MODULE_KEY_CONTROLLERS = 'controllers'
ModuleList::MODULE_KEY_EVENTS => 'events'
ModuleList::MODULE_KEY_VERSIONS => module version

@return array