src/Plugin/ModifyCheckoutLayoutPlugin.php
private function disableAuthentication($jsLayout)
    {
        if ($this->scopeConfig->getValue(self::CONFIG_DISABLE_LOGIN_PATH, ScopeInterface::SCOPE_STORE)) {
            unset($jsLayout['components']['checkout']['children']['authentication']);
        }
        return $jsLayout;
    }
private function disableAuthentication($jsLayout)
    {
        if ($this->scopeConfig->getValue(self::CONFIG_DISABLE_LOGIN_PATH, ScopeInterface::SCOPE_STORE)) {
            unset($jsLayout['components']['checkout']['children']['authentication']);
        }
        return $jsLayout;
    }
private function disableAuthentication ( $ jsLayout ) { if ( $ this -> scopeConfig -> getValue ( self :: CONFIG_DISABLE_LOGIN_PATH , ScopeInterface :: SCOPE_STORE ) ) { unset ( $ jsLayout [ 'components' ] [ 'checkout' ] [ 'children' ] [ 'authentication' ] ) ; } return $ jsLayout ; }
Disables authentication modal.

@param array $jsLayout
@return array
Disables authentication modal .