function views_security_checks in Security Review 7
Checks for security_review_get_checklist() when Views is enabled.
File
- ./
security_review.inc, line 202 - Stand-alone security checks and review system.
Code
function views_security_checks() {
$checks = array();
$checks['access'] = array(
'title' => t('Views access'),
'callback' => 'security_review_check_views_access',
'success' => t('Views are access controlled.'),
'failure' => t('There are Views that do not provide any access checks.'),
'module' => 'security_review',
// Specify this file because the callback is here.
'file' => 'security_review',
);
return array(
'views' => $checks,
);
}