Same name and namespace in other branches
- 8.x-4.x modules/views_slideshow_cycle/src/Commands/ViewsSlideshowCycleCommands.php \Drupal\views_slideshow_cycle\Commands\ViewsSlideshowCycleCommands::downloadPause()
Download and install the jQuery.pause library.
@command views:slideshow:pause @aliases dl-pause,views-slideshow-cycle-pause
1 call to ViewsSlideshowCycleCommands::downloadPause()
- ViewsSlideshowCycleCommands::downloadLib dans modules/
views_slideshow_cycle/ src/ Commands/ ViewsSlideshowCycleCommands.php - Download and install the jQuery Cycle.
Fichier
-
modules/
views_slideshow_cycle/ src/ Commands/ ViewsSlideshowCycleCommands.php, line 65
Classe
- ViewsSlideshowCycleCommands
- Drush commands for Views Slideshow Cycle.
Namespace
Drupal\views_slideshow_cycle\CommandsCode
public function downloadPause() {
$this->installLibrary('jQuery Pause', 'libraries/jquery.pause', 'jquery.pause.js', 'https://raw.githubusercontent.com/tobia/Pause/master/jquery.pause.js');
}