stage_file_proxy.drush8.inc in Stage File Proxy 8
Contains drush commands.
File
stage_file_proxy.drush8.incView source
<?php
/**
* @file
* Contains drush commands.
*/
/**
* Implements hook_drush_command().
*/
function stage_file_proxy_drush_command() {
$items['stage-file-proxy-dl'] = [
'description' => 'Download all managed files from the origin.',
];
return $items;
}
/**
* Download all managed files from the origin.
*/
function drush_stage_file_proxy_dl() {
\Drupal::service('stage_file_proxy.command')
->dl();
}
Functions
Name | Description |
---|---|
drush_stage_file_proxy_dl | Download all managed files from the origin. |
stage_file_proxy_drush_command | Implements hook_drush_command(). |