<block class="Magento\Store\Block\Switcher" name="store_language" as="store_language" template="Magento_Store::switch/languages.phtml">
<arguments>
<argument name="view_model" xsi:type="object">Magento\Store\ViewModel\SwitcherUrlProvider</argument>
</arguments>
</block>
I just want to call the above block via Static block (From Admin), but it gives an error due to ViewModel class.
I don't know how to pass view model argument when we call block via static block
Does anyone have any idea?