🇮🇳India @sahil.shaikh

Account created on 6 July 2022, over 2 years ago
#

Recent comments

🇮🇳India sahil.shaikh

Try 
theme_get_setting('logo') for logo.
theme_get_setting('logo')['url'] to get url of logo.

🇮🇳India sahil.shaikh

Sorry, I figured it out it was my composer issue.
In my composer.json file

"repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8",
        "type": "composer",
        "url": "https://asset-packagist.org"
    }
    ],

which was incorrect because we had 2 keys in same object

So i have created 2 objects for 2 keys,
Changing to this fixed my issue and able to install module with composer.

"repositories": [
    {
        "type": "composer",
        "url": "https://packages.drupal.org/8"
    },
    {
        "type": "composer",
        "url": "https://asset-packagist.org"
    }
],
Production build 0.71.5 2024