When using an installation profile, the Superfish library is not recognized when inside /profiles/contrib/PROFILE/libraries or /profiles/custom/PROFILE/libraries folder. However, when installing Drupal with composer, that is the default folder structure for profiles:
"extra": {
"installer-paths": {
"core": ["type:drupal-core"],
"libraries/{$name}": ["type:drupal-library"],
"modules/contrib/{$name}": ["type:drupal-module"],
"profiles/contrib/{$name}": ["type:drupal-profile"],
"themes/contrib/{$name}": ["type:drupal-theme"],
"drush/{$name}": ["type:drupal-drush"],
"modules/custom/{$name}": ["type:drupal-custom-module"],
"themes/custom/{$name}": ["type:drupal-custom-theme"]
}
}
(see https://www.drupal.org/docs/develop/using-composer/using-composer-to-ins...)
profiles/custom/{$name} is not set by default. But I think it's a good idea to add that folder too, since the distinction between contrib/ and custom/ is quite common.
Comments
Comment #2
maenjuelPatch added.
Comment #4
mehrpadin commentedHey there,
Yeah sure indeed, applied the patch, thanks.