public function CssAggregated::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/ CssAggregated.php, line 21
Class
- CssAggregated
- CSS aggregation check
Namespace
Drupal\prod_check\Plugin\ProdCheck\PerformanceCode
public function state() {
return $this->configFactory
->get('system.performance')
->get('css.preprocess');
}