We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69ffe4 commit b3a6161Copy full SHA for b3a6161
src/ExtenderManager.php
@@ -67,6 +67,10 @@ public function addConfigFile($configFile)
67
*/
68
public function addServicesFile($servicesFile)
69
{
70
+ $consoleTags = [
71
+ 'drupal.command',
72
+ 'drupal.generator'
73
+ ];
74
$servicesData = $this->parseData($servicesFile);
75
if ($this->isValidServicesData($servicesData)) {
76
foreach ($servicesData['services'] as $key => $definition) {
@@ -79,7 +83,7 @@ public function addServicesFile($servicesFile)
79
83
$bootstrap = null;
80
84
continue;
81
85
}
82
- if ($tags['name'] != 'drupal.command') {
86
+ if (array_search($tags['name'], $consoleTags) === false) {
87
88
89
0 commit comments