projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
drupal
/
console
/
src
/
Bootstrap
/
FindCommandsCompilerPass.php
diff --git
a/vendor/drupal/console/src/Bootstrap/FindCommandsCompilerPass.php
b/vendor/drupal/console/src/Bootstrap/FindCommandsCompilerPass.php
index 42648b4ee853f2cab7c1e6b7de21a85ceed496d0..dc1edacd5a32cd2138fdf3304f778495c21d25cc 100644
(file)
--- a/
vendor/drupal/console/src/Bootstrap/FindCommandsCompilerPass.php
+++ b/
vendor/drupal/console/src/Bootstrap/FindCommandsCompilerPass.php
@@
-34,11
+34,9
@@
class FindCommandsCompilerPass implements CompilerPassInterface
$this->serviceTag
);
- $commands = [];
foreach ($taggedServices as $id => $tags) {
- $commands[] = $id;
+ $container->getDefinition($id)
+ ->addTag('persist');
}
-
- $container->setParameter('drupal.commands', $commands);
}
}