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.

CommentFileSizeAuthor
#2 3097773-2_profile_folders.patch717 bytesmaenjuel

Comments

maenjuel created an issue. See original summary.

maenjuel’s picture

StatusFileSize
new717 bytes

Patch added.

  • mehrpadin committed 4b1117b on 8.x-1.x authored by maenjuel
    Issue #3097773 by maenjuel: Superfish library not recognized when inside...
mehrpadin’s picture

Status: Active » Fixed

Hey there,

Yeah sure indeed, applied the patch, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.