original_string: public function fromUrl(array $sources)
      {
          $total = count($sources);
          $finish_message = $this->translation->text('New modules: %inserted, updated: %updated');
          $vars = array('@url' => $this->url->get('', array('download_errors' => true)));
          $errors_message = $this->translation->text('New modules: %inserted, updated: %updated, errors: %errors. <a href="@url">See error log</a>', $vars);
  
          $data = array(
              'total' => $total,
              'data' => array('sources' => $sources),
              'id' => 'installer_download_module',
              'log' => array('errors' => $this->getErrorLogFile()),
              'redirect_message' => array('finish' => $finish_message, 'errors' => $errors_message)
          );
  
          $this->job->submit($data);
      }
code: public function fromUrl(array $sources)
      {
          $total = count($sources);
          $finish_message = $this->translation->text('New modules: %inserted, updated: %updated');
          $vars = array('@url' => $this->url->get('', array('download_errors' => true)));
          $errors_message = $this->translation->text('New modules: %inserted, updated: %updated, errors: %errors. <a href="@url">See error log</a>', $vars);
  
          $data = array(
              'total' => $total,
              'data' => array('sources' => $sources),
              'id' => 'installer_download_module',
              'log' => array('errors' => $this->getErrorLogFile()),
              'redirect_message' => array('finish' => $finish_message, 'errors' => $errors_message)
          );
  
          $this->job->submit($data);
      }
code_tokens: public function fromUrl ( array $ sources ) { $ total = count ( $ sources ) ; $ finish_message = $ this -> translation -> text ( 'New modules: %inserted, updated: %updated' ) ; $ vars = array ( '@url' => $ this -> url -> get ( '' , array ( 'download_errors' => true ) ) ) ; $ errors_message = $ this -> translation -> text ( 'New modules: %inserted, updated: %updated, errors: %errors. <a href="@url">See error log</a>' , $ vars ) ; $ data = array ( 'total' => $ total , 'data' => array ( 'sources' => $ sources ) , 'id' => 'installer_download_module' , 'log' => array ( 'errors' => $ this -> getErrorLogFile ( ) ) , 'redirect_message' => array ( 'finish' => $ finish_message , 'errors' => $ errors_message ) ) ; $ this -> job -> submit ( $ data ) ; }
docstring: Install modules from multiple URLs
  @param array $sources
docstring_tokens: Install modules from multiple URLs