public function MinifyJsCommands::scanJs in Minify JS 8
Same name and namespace in other branches
- 8.2 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 99
Class
- MinifyJsCommands
- A Drush commandfile.
Namespace
Drupal\minifyjs\CommandsCode
public function scanJs() {
$this
->output()
->writeln('Scanning for JS files...');
FileManager::scan(TRUE);
$this
->output()
->writeln('Complete!');
}