public function aroundGetConfigurationDesignTheme(Design $subject, callable $proceed, ...$args)
    {
        $forceLuma = $this->scopeConfig->getValue(self::CONFIG_PATH_FORCE_LUMA_CHECKOUT, ScopeInterface::SCOPE_STORE);
        if ($forceLuma &&
            $this->httpRequest->getModuleName() === 'checkout' &&
            $this->httpRequest->getControllerName() === 'index') {
            return $this->getLumaThemeId();
        }
        return $proceed(...$args);
    }
public function aroundGetConfigurationDesignTheme(Design $subject, callable $proceed, ...$args)
    {
        $forceLuma = $this->scopeConfig->getValue(self::CONFIG_PATH_FORCE_LUMA_CHECKOUT, ScopeInterface::SCOPE_STORE);
        if ($forceLuma &&
            $this->httpRequest->getModuleName() === 'checkout' &&
            $this->httpRequest->getControllerName() === 'index') {
            return $this->getLumaThemeId();
        }
        return $proceed(...$args);
    }
public function aroundGetConfigurationDesignTheme ( Design $ subject , callable $ proceed , ... $ args ) { $ forceLuma = $ this -> scopeConfig -> getValue ( self :: CONFIG_PATH_FORCE_LUMA_CHECKOUT , ScopeInterface :: SCOPE_STORE ) ; if ( $ forceLuma && $ this -> httpRequest -> getModuleName ( ) === 'checkout' && $ this -> httpRequest -> getControllerName ( ) === 'index' ) { return $ this -> getLumaThemeId ( ) ; } return $ proceed ( ... $ args ) ; }
Forces the Luma theme when httpRequest is being handled by checkout.

@param Design $subject
@param callable $proceed
@param array ...$args
@return int
Forces the Luma theme when httpRequest is being handled by checkout .