You are here

public static function ScssCompilerSystemPerformanceSettingsFormAlter::ajaxCallback in SCSS/Less Compiler 8

Plugins select ajax callback.

File

src/Form/ScssCompilerSystemPerformanceSettingsFormAlter.php, line 145

Class

ScssCompilerSystemPerformanceSettingsFormAlter
Adds compiler settings to the performance page.

Namespace

Drupal\scss_compiler\Form

Code

public static function ajaxCallback(&$form) {
  $form['scss_compiler']['advanced']['#open'] = TRUE;
  return $form;
}