original_string: public static function get_download_link(\context_user $usercontext, $requestid) {
          $downloadurl = moodle_url::make_pluginfile_url($usercontext->id,
                  'tool_dataprivacy', 'export', $requestid, '/', 'export.zip', true);
          $downloadtext = get_string('download', 'tool_dataprivacy');
          return new \action_menu_link_secondary($downloadurl, null, $downloadtext);
      }
code: public static function get_download_link(\context_user $usercontext, $requestid) {
          $downloadurl = moodle_url::make_pluginfile_url($usercontext->id,
                  'tool_dataprivacy', 'export', $requestid, '/', 'export.zip', true);
          $downloadtext = get_string('download', 'tool_dataprivacy');
          return new \action_menu_link_secondary($downloadurl, null, $downloadtext);
      }
code_tokens: public static function get_download_link ( \ context_user $ usercontext , $ requestid ) { $ downloadurl = moodle_url :: make_pluginfile_url ( $ usercontext -> id , 'tool_dataprivacy' , 'export' , $ requestid , '/' , 'export.zip' , true ) ; $ downloadtext = get_string ( 'download' , 'tool_dataprivacy' ) ; return new \ action_menu_link_secondary ( $ downloadurl , null , $ downloadtext ) ; }
docstring: Gets an action menu link to download a data request.
  
  @param \context_user $usercontext User context (of user who the data is for)
  @param int $requestid Request id
  @return \action_menu_link_secondary Action menu link
  @throws coding_exception
docstring_tokens: Gets an action menu link to download a data request .