public function FileManager::restore in Minify JS 8.2
Same name and namespace in other branches
- 8 src/Controller/FileManager.php \Drupal\minifyjs\Controller\FileManager::restore()
Remove the minified version of a single file (restore it).
Parameters
object $file: The file to restore.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse Returns a redirect to the manage javascript page.
1 string reference to 'FileManager::restore'
File
- src/
Controller/ FileManager.php, line 35
Class
- FileManager
- Controller routines for minifyjs routes.
Namespace
Drupal\minifyjs\ControllerCode
public function restore($file) {
\Drupal::service('minifyjs')
->restore($file);
return $this
->redirect('minifyjs.manage');
}