Same name and namespace in other branches
- 5.0.x modules/views_slideshow_cycle/src/Commands/ViewsSlideshowCycleCommands.php \Drupal\views_slideshow_cycle\Commands\ViewsSlideshowCycleCommands::downloadCycle()
Download and install the jQuery Cycle library.
@command views:slideshow:cycle @aliases dl-cycle,views-slideshow-cycle-cycle
1 call to ViewsSlideshowCycleCommands::downloadCycle()
- ViewsSlideshowCycleCommands::downloadLib in modules/
views_slideshow_cycle/ src/ Commands/ ViewsSlideshowCycleCommands.php - Download and install the jQuery Cycle.
File
-
modules/
views_slideshow_cycle/ src/ Commands/ ViewsSlideshowCycleCommands.php, line 19
Class
- ViewsSlideshowCycleCommands
- Drush commands for Views Slideshow Cycle.
Namespace
Drupal\views_slideshow_cycle\CommandsCode
public function downloadCycle() {
$this->installLibrary('jQuery Cycle', 'libraries/jquery.cycle', 'jquery.cycle.all.js', 'https://raw.githubusercontent.com/malsup/cycle/3.0.3/jquery.cycle.all.js');
}