Same name and namespace in other branches
- 5.0.x modules/views_slideshow_cycle/src/Commands/ViewsSlideshowCycleCommands.php \Drupal\views_slideshow_cycle\Commands\ViewsSlideshowCycleCommands::downloadHoverIntent()
Download and install the jquery.hoverIntent library.
@command views:slideshow:hoverintent @aliases dl-hoverintent,views-slideshow-cycle-hoverintent
1 call to ViewsSlideshowCycleCommands::downloadHoverIntent()
- 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 49
Classe
- ViewsSlideshowCycleCommands
- Drush commands for Views Slideshow Cycle.
Namespace
Drupal\views_slideshow_cycle\CommandsCode
public function downloadHoverIntent() {
$this->installLibrary('jQuery HoverIntent', 'libraries/jquery.hoverIntent', 'jquery.hoverIntent.js', 'https://raw.githubusercontent.com/briancherne/jquery-hoverIntent/master/jquery.hoverIntent.js');
}