code: public function doRestore(ModulesEvent $event)
      {
          $cache = $this->getCache();
          $data  = $cache->get('config');
          if ($data) {
              $services = $this->getServices();
              $services->set('Config', $data);
              $event->stopPropagation(true);
          }
      }
docs: Restores the system configuration from cache.
  
  @param \Es\Modules\ModulesEvent $event The modules event