Loading src/Generators/ConfigurationUpdate.php +2 −2 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ class ConfigurationUpdate extends DrupalGenerator { // Get additional options provided by other modules. $event = new CommandInteractEvent($vars); $this->eventDispatcher->dispatch(UpdateHelperEvents::COMMAND_GCU_INTERACT, $event); $this->eventDispatcher->dispatch($event, UpdateHelperEvents::COMMAND_GCU_INTERACT); foreach ($event->getQuestions() as $key => $question) { $vars[$key] = $this->io->askQuestion($question); Loading @@ -141,7 +141,7 @@ class ConfigurationUpdate extends DrupalGenerator { // Get additional options provided by other modules. $event = new CommandExecuteEvent($vars); $this->eventDispatcher->dispatch(UpdateHelperEvents::COMMAND_GCU_EXECUTE, $event); $this->eventDispatcher->dispatch($event, UpdateHelperEvents::COMMAND_GCU_EXECUTE); foreach ($event->getTemplatePaths() as $path) { $this->getHelper('renderer')->prependPath($path); Loading src/Updater.php +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ class Updater implements UpdaterInterface { // Dispatch event after update has finished. $event = new ConfigurationUpdateEvent($module, $update_definition_name, $this->warningCount); $this->eventDispatcher->dispatch(UpdateHelperEvents::CONFIGURATION_UPDATE, $event); $this->eventDispatcher->dispatch($event, UpdateHelperEvents::CONFIGURATION_UPDATE); return $this->warningCount === 0; } Loading Loading
src/Generators/ConfigurationUpdate.php +2 −2 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ class ConfigurationUpdate extends DrupalGenerator { // Get additional options provided by other modules. $event = new CommandInteractEvent($vars); $this->eventDispatcher->dispatch(UpdateHelperEvents::COMMAND_GCU_INTERACT, $event); $this->eventDispatcher->dispatch($event, UpdateHelperEvents::COMMAND_GCU_INTERACT); foreach ($event->getQuestions() as $key => $question) { $vars[$key] = $this->io->askQuestion($question); Loading @@ -141,7 +141,7 @@ class ConfigurationUpdate extends DrupalGenerator { // Get additional options provided by other modules. $event = new CommandExecuteEvent($vars); $this->eventDispatcher->dispatch(UpdateHelperEvents::COMMAND_GCU_EXECUTE, $event); $this->eventDispatcher->dispatch($event, UpdateHelperEvents::COMMAND_GCU_EXECUTE); foreach ($event->getTemplatePaths() as $path) { $this->getHelper('renderer')->prependPath($path); Loading
src/Updater.php +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ class Updater implements UpdaterInterface { // Dispatch event after update has finished. $event = new ConfigurationUpdateEvent($module, $update_definition_name, $this->warningCount); $this->eventDispatcher->dispatch(UpdateHelperEvents::CONFIGURATION_UPDATE, $event); $this->eventDispatcher->dispatch($event, UpdateHelperEvents::CONFIGURATION_UPDATE); return $this->warningCount === 0; } Loading