public function ReleaseNotes::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/ Server/ ReleaseNotes.php, line 56
Class
- ReleaseNotes
- Release notes check
Namespace
Drupal\prod_check\Plugin\ProdCheck\ServerCode
public function failMessages() {
return [
'value' => $this
->t('Release note & help files still present on your server!'),
'description' => $this
->t('Leaving the "@files" files present on the webserver is a minor security risk. These files are useless on production anyway and they simply should not be there.', [
'@files' => implode(', ', $this->remaining_files),
]),
];
}