public function MinifyJsCommands::scanJs in Minify JS 8.2
Same name and namespace in other branches
- 8 src/Commands/MinifyJsCommands.php \Drupal\minifyjs\Commands\MinifyJsCommands::scanJs()
Drush command to find all JS files.
@usage drush scan-js Drush command to find all JS files.
@command scan-js @aliases scanjs
File
- src/
Commands/ MinifyJsCommands.php, line 112
Class
- MinifyJsCommands
- A Drush commandfile.
Namespace
Drupal\minifyjs\CommandsCode
public function scanJs() {
$this
->output()
->writeln('Scanning for JS files...');
$this->minifyJs
->scan();
$this
->output()
->writeln('Complete!');
}