source/Core/SettingsHandler.php
public function run($module)
    {
        $moduleSettings = $module->getInfo('settings');
        $isTheme = $this->isTheme($module->getId());
        if (!$isTheme || ($isTheme && is_array($moduleSettings))) {
            $this->addModuleSettings($moduleSettings, $module->getId());
        }
    }
public function run($module)
    {
        $moduleSettings = $module->getInfo('settings');
        $isTheme = $this->isTheme($module->getId());
        if (!$isTheme || ($isTheme && is_array($moduleSettings))) {
            $this->addModuleSettings($moduleSettings, $module->getId());
        }
    }
public function run ( $ module ) { $ moduleSettings = $ module -> getInfo ( 'settings' ) ; $ isTheme = $ this -> isTheme ( $ module -> getId ( ) ) ; if ( ! $ isTheme || ( $ isTheme && is_array ( $ moduleSettings ) ) ) { $ this -> addModuleSettings ( $ moduleSettings , $ module -> getId ( ) ) ; } }
Get settings and module id and starts import process.

Run module settings import logic only if it has settings array
On empty settings array, it will remove the settings.

@param object $module Module or Theme Object
Get settings and module id and starts import process .