drupal-finder icon indicating copy to clipboard operation
drupal-finder copied to clipboard

Drupal Finder does not work with Lightning Core

Open grasmash opened this issue 6 years ago • 1 comments

When Lightning Core is installed at docroot/modules/contrib/lightning_core and $this=>locateRoot('docroot/modules/contrib/lightning_core') is executed, Drupal Finder will incorrectly assume that docroot/modules/contrib/lightning_core is actually the root.

This is due to Lightning Core's composer.json, which contains entries for installer-paths.

It seems like it would be useful to add a couple of extra checks to Drupal Finder ensure that the directory structure looks like Drupal core. For instance, checking for core,index.php,modules, etc. Checking values in composer.json is not sufficient in all cases.

grasmash avatar Sep 12 '19 02:09 grasmash

File link to composer.json not working for me. I assume this one is the same https://git.drupalcode.org/project/lightning_core/blob/8.x-1.x/composer.json

simesy avatar Sep 16 '19 03:09 simesy