public function ModuleList::successMessages in Production check & Production monitor 8
Returns the success messages for the check.
Return value
array 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/ Modules/ ModuleList.php, line 157 - Contains \Drupal\prod_check\Plugin\ProdCheck\Modules\ModuleList.
Class
- ModuleList
- Returns a list of installed modules (and their updates).
Namespace
Drupal\prod_check\Plugin\ProdCheck\ModulesCode
public function successMessages() {
return [
'value' => $this
->t('List of modules successfully refreshed'),
'description' => $this
->t('The list of modules has successfully been refreshed.'),
];
}