protected function shouldRedirectToDrupalCore($container)
    {
        if (!Database::getConnectionInfo()) {
            return true;
        }

        if (!$container->has('database')) {
            return true;
        }


        return !$container->get('database')->schema()->tableExists('sessions');
    }
protected function shouldRedirectToDrupalCore($container)
    {
        if (!Database::getConnectionInfo()) {
            return true;
        }

        if (!$container->has('database')) {
            return true;
        }


        return !$container->get('database')->schema()->tableExists('sessions');
    }
protected function shouldRedirectToDrupalCore ( $ container ) { if ( ! Database :: getConnectionInfo ( ) ) { return true ; } if ( ! $ container -> has ( 'database' ) ) { return true ; } return ! $ container -> get ( 'database' ) -> schema ( ) -> tableExists ( 'sessions' ) ; }
Validate if flow should redirect to DrupalCore

@param  $container
@return bool
Validate if flow should redirect to DrupalCore