PHP code example of siteation / magento2-module-storeinfo-extra

1. Go to this page and download the library: Download siteation/magento2-module-storeinfo-extra library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

siteation / magento2-module-storeinfo-extra example snippets

xml
<referenceContainer name="footer">
    <block
        name="footer.store.socials"
        as="footer-store-socials"
        template="Siteation_StoreInfoExtra::hyva/socials.phtml"
    />
</referenceContainer>
xml
<referenceContainer name="footer">
    <block name="footer.store.socials"
        as="footer-store-socials"
        template="Siteation_StoreInfoExtra::luma/socials.phtml">
        <arguments>
            <argument name="viewModelStoreInfo" 
                xsi:type="object">Siteation\StoreInfoExtra\ViewModel\StoreInfoExtra</argument>
        </arguments>
    </block>
</referenceContainer>