You are here

public function ScssCompilerAlterStorage::getAll in SCSS/Less Compiler 8

Returns merged data in all scopes.

Parameters

string $namespace: Module/theme name.

string $file_path: Path to source file from DRUPAL_ROOT.

Return value

array Array with data.

File

src/ScssCompilerAlterStorage.php, line 114

Class

ScssCompilerAlterStorage
Collects alter data.

Namespace

Drupal\scss_compiler

Code

public function getAll($namespace, $file_path) {
  return array_merge($this
    ->get(), $this
    ->get($namespace), $this
    ->getByFile($file_path));
}