function _security_review_drush_format_result in Security Review 6
Same name and namespace in other branches
- 7 security_review.drush.inc \_security_review_drush_format_result()
1 call to _security_review_drush_format_result()
- security_review_drush in ./
security_review.drush.inc - Run checklist and display results command.
File
- ./
security_review.drush.inc, line 131 - Drush commands for Security Review module.
Code
function _security_review_drush_format_result($check, $status) {
if (is_null($check['result'])) {
return;
}
return array(
'message' => $check['title'],
'status' => $status,
'findings' => $check['value'],
);
}