You are here

public function FileManager::scan in Minify JS 8.2

Same name and namespace in other branches
  1. 8 src/Controller/FileManager.php \Drupal\minifyjs\Controller\FileManager::scan()

Scans the system for javascript.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse Returns a redirect to the manage javascript page.

1 string reference to 'FileManager::scan'
minifyjs.routing.yml in ./minifyjs.routing.yml
minifyjs.routing.yml

File

src/Controller/FileManager.php, line 46

Class

FileManager
Controller routines for minifyjs routes.

Namespace

Drupal\minifyjs\Controller

Code

public function scan() {
  \Drupal::service('minifyjs')
    ->scan();
  return $this
    ->redirect('minifyjs.manage');
}