You are here

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

Returns compile file info.

Parameters

array $info: An associative array containing:

  • namespace: theme/module name. Required.
  • data: source file path. Required.
  • css_path: custom destination css path. Optional.

Return value

array|null Compile file info:

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

or NULL if source data is incorrect.

1 method overrides ScssCompilerInterface::buildCompilationFileInfo()
ScssCompilerService::buildCompilationFileInfo in src/ScssCompilerService.php
Returns compile file info.

File

src/ScssCompilerInterface.php, line 101

Class

ScssCompilerInterface
Provides an interface defining a SCSS Compiler service.

Namespace

Drupal\scss_compiler

Code

public function buildCompilationFileInfo(array $info);