drupal-console
drupal-console copied to clipboard
fix non-existent service extension.list.module
Fixes #4265
Looks like this code is already included in the latest release 1.9.8
, around line 254 now:
/**
* @param string $type
* @return \Drupal\Core\Extension\Extension[]
*/
private function discoverExtensions($type)
{
if ($type === 'module') {
$this->site->loadLegacyFile('/core/modules/system/system.module');
$extensionList = \Drupal::service('extension.list.module');
$extensionList->reset()->getList();
}
@ccjjmartin no, it is not: https://github.com/hechoendrupal/drupal-console/blob/1.9.8/src/Extension/Manager.php#L249 And now this PR is not compatible with version 1.9.8 anymore, so I cannot even apply the patch from this PR.
I merged here https://github.com/hechoendrupal/drupal-console/pull/4340