function _addressfield_autocomplete_drush_plugin_download in Addressfield Autocomplete 7
A helper function to download the plugin.
Parameters
string $version:
1 call to _addressfield_autocomplete_drush_plugin_download()
- _addressfield_autocomplete_drush_plugin_process in ./
addressfield_autocomplete.drush.inc - A helper function to process the download of the geocomplete plugin.
File
- ./
addressfield_autocomplete.drush.inc, line 119 - Drush integration for addressfield autocomplete.
Code
function _addressfield_autocomplete_drush_plugin_download($version) {
// Download the tarball archive.
$url = ADDRESSFIELD_AUTOCOMPLETE_GEOCOMPLETE_DOWNLOAD_URI . $version . '.zip';
return drush_download_file($url);
}