- Issue created by @mindaugasd
If new and disabled module is added, it is not found and results in this error:
Drupal\aidev\Exception\AIDevException: Module with a name "modulename" not found. in Drupal\aidev\Source->getProjectPath() (line 144 of /public_html/web/modules/contrib/aidev/src/Source.php).
This is because Drupal\Core\Extension\ModuleExtensionList::getPath()
is designed to work with information about modules that are recognized by the Drupal system - including both enabled and disabled modules, as long as they are discovered in the Drupal filesystem beforehand.
Quick workaround is go to Extensions list (/admin/modules) so module will be discovered by Drupal, and then use normally.
Active
1.0
Code