You are here

public function ScssCompilerController::flush in SCSS/Less Compiler 8

Recompile all source files.

1 string reference to 'ScssCompilerController::flush'
scss_compiler.routing.yml in ./scss_compiler.routing.yml
scss_compiler.routing.yml

File

src/Controller/ScssCompilerController.php, line 69

Class

ScssCompilerController
ScssCompiler controller object.

Namespace

Drupal\scss_compiler\Controller

Code

public function flush() {
  $this->scssCompiler
    ->flushCache();
  return new RedirectResponse($this
    ->reloadPage());
}