You are here

function jssor_drush_command in Jssor Slider 8

Implements hook_drush_command().

File

./jssor.drush.php, line 22
Drush integration for the jssor module.

Code

function jssor_drush_command() {
  $file = preg_replace('/(inc|php)$/', 'yml', __FILE__);
  $config = Yaml::parse(file_get_contents($file));
  $items = $config['commands'];
  return $items;
}