You are here

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

Returns the success 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::successMessages

File

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

Class

CssAggregated
CSS aggregation check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Performance

Code

public function successMessages() {
  return [
    'value' => $this
      ->t('Enabled'),
    'description' => $this
      ->generateDescription($this
      ->title(), 'system.performance_settings'),
  ];
}