🇮🇳India sahil.shaikh
sahil.shaikh → created an issue.
🇮🇳India sahil.shaikh
Works as designed
🇮🇳India sahil.shaikh
sahil.shaikh → created an issue.
🇮🇳India sahil.shaikh
Try
theme_get_setting('logo') for logo.
theme_get_setting('logo')['url'] to get url of logo.
🇮🇳India sahil.shaikh
sahil.shaikh → created an issue.
🇮🇳India sahil.shaikh
🇮🇳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"
}
],
🇮🇳India sahil.shaikh
🇮🇳India sahil.shaikh
🇮🇳India sahil.shaikh
sahil.shaikh → created an issue.