You are here

public function ScssCompilerInterface::compile in SCSS/Less Compiler 8

Compiles single scss file into css.

Parameters

array $scss_file: An associative array with scss file info.

  • name: filename. Required.
  • namespace: theme/module name. Required.
  • source_path: source file path. Required.
  • css_path: css file destination path. Required.

bool $flush: If TRUE ignore last modified time.

1 method overrides ScssCompilerInterface::compile()
ScssCompilerService::compile in src/ScssCompilerService.php
Compiles single scss file into css.

File

src/ScssCompilerInterface.php, line 22

Class

ScssCompilerInterface
Provides an interface defining a SCSS Compiler service.

Namespace

Drupal\scss_compiler

Code

public function compile(array $scss_file, $flush);