You are here

public function CssAggregated::failMessages in Production check & Production monitor 8

Returns the fail messages for the check

Return value

An associative array containing the following keys

  • value: the value of the check
  • description: the description of the check

Overrides ProdCheckInterface::failMessages

File

src/Plugin/ProdCheck/Performance/CssAggregated.php, line 41

Class

CssAggregated
CSS aggregation check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Performance

Code

public function failMessages() {
  return [
    'value' => $this
      ->t('Disabled'),
    'description' => $this
      ->generateDescription($this
      ->title(), 'system.performance_settings', 'Your %link settings are disabled, they should be enabled on a production environment! This should not cause trouble if you steer clear of @import statements.'),
  ];
}