public function PoormansCron::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/ Settings/ PoormansCron.php, line 40
Class
- PoormansCron
- Poormans cron check.
Namespace
Drupal\prod_check\Plugin\ProdCheck\SettingsCode
public function successMessages() {
return [
'value' => $this
->t("Drupal's built in cron mechanism is disabled."),
'description' => $this
->generateDescription($this
->title(), 'system.cron_settings'),
];
}