library/ModuleLoader.php
public function activateModules($modulesToActivate)
    {
        $this->clearModuleChain();

        // First load all needed config options before the module will be installed.
        $this->prepareModulesForActivation();
        foreach ($modulesToActivate as $modulePath) {
            $this->installModule($modulePath);
        }

        // Reset reverse proxy backend as module activation sets it to flush mode.
        \OxidEsales\Eshop\Core\Registry::set(\OxidEsales\Eshop\Core\Cache\ReverseProxy\ReverseProxyBackend::class, null);
    }
public function activateModules($modulesToActivate)
    {
        $this->clearModuleChain();

        // First load all needed config options before the module will be installed.
        $this->prepareModulesForActivation();
        foreach ($modulesToActivate as $modulePath) {
            $this->installModule($modulePath);
        }

        // Reset reverse proxy backend as module activation sets it to flush mode.
        \OxidEsales\Eshop\Core\Registry::set(\OxidEsales\Eshop\Core\Cache\ReverseProxy\ReverseProxyBackend::class, null);
    }
public function activateModules ( $ modulesToActivate ) { $ this -> clearModuleChain ( ) ; // First load all needed config options before the module will be installed. $ this -> prepareModulesForActivation ( ) ; foreach ( $ modulesToActivate as $ modulePath ) { $ this -> installModule ( $ modulePath ) ; } // Reset reverse proxy backend as module activation sets it to flush mode. \ OxidEsales \ Eshop \ Core \ Registry :: set ( \ OxidEsales \ Eshop \ Core \ Cache \ ReverseProxy \ ReverseProxyBackend :: class , null ) ; }
Loads modules and activates them.

@param array $modulesToActivate Array of modules to load.
Loads modules and activates them .