You are here

public function JsAggregated::state in Production check & Production monitor 8

Calculates the state for the check.

Return value

TRUE if the check passed FALSE otherwise

Overrides ProdCheckInterface::state

File

src/Plugin/ProdCheck/Performance/JsAggregated.php, line 21

Class

JsAggregated
JS aggregation check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Performance

Code

public function state() {
  return $this->configFactory
    ->get('system.performance')
    ->get('js.preprocess');
}