5 * Contains \Drupal\drupalmoduleupgrader\Plugin\DMU\Fixer\Disable.
8 namespace Drupal\drupalmoduleupgrader\Plugin\DMU\Fixer;
15 class Disable extends Notify {
17 use NodeCollectorTrait;
22 public function execute() {
25 foreach ($this->getObjects() as $node) {
26 if ($node->hasRoot()) {
27 $statement = $node->getStatement();
28 $statement->replaceWith($statement->toComment());
32 $this->target->save();