Core/InternalModule.php
public function checkModuleTemplates()
    {
        $aDatabaseTemplates = $this->getModuleEntries(ModuleList::MODULE_KEY_TEMPLATES);
        $aResult = $this->checkFiles($aDatabaseTemplates, false);

        return $aResult;
    }
public function checkModuleTemplates()
    {
        $aDatabaseTemplates = $this->getModuleEntries(ModuleList::MODULE_KEY_TEMPLATES);
        $aResult = $this->checkFiles($aDatabaseTemplates, false);

        return $aResult;
    }
Analyze templates in metadata ans settings.

@return array