You are here

public function CompileSubscriber::compile in Theme Compiler 2.0.x

Run the compilation process for this module.

1 call to CompileSubscriber::compile()
CompileSubscriber::onConfigChange in src/EventSubscriber/CompileSubscriber.php
Compile all assets provided by this module on configuration changes.

File

src/EventSubscriber/CompileSubscriber.php, line 69

Class

CompileSubscriber
An event subscriber used to trigger (re)compilation of this module's assets.

Namespace

Drupal\theme_compiler\EventSubscriber

Code

public function compile() {
  $this->compiler
    ->compileAssets();
}