function drush_download_animations_libraries in Animations (JS/CSS) 8
Callback for the drush-demo-command command
1 string reference to 'drush_download_animations_libraries'
File
- ./
animations.drush.inc, line 15
Code
function drush_download_animations_libraries() {
$config = \Drupal::config('animations.config');
drupal_set_message(t("Started downloading the dependencies..."), "status");
foreach ($config
->get("animations_dependencies") as $key => $library) {
download_file($library["repository"], $key);
}
}