You are here

function hook_security_review_checks in Security Review 8

Returns the array of security checks the module defines.

The checks must extend \Drupal\security_review\Check.

Return value

array An array of security checks.

2 functions implement hook_security_review_checks()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

security_review_security_review_checks in ./security_review.module
Implements hook_security_review_checks().
security_review_test_security_review_checks in tests/modules/security_review_test/security_review_test.module
Implements hook_security_review_checks().
1 invocation of hook_security_review_checks()
Checklist::getChecks in src/Checklist.php
Returns every Check.

File

./security_review.api.php, line 22
Defines the API for Security Review.

Code

function hook_security_review_checks() {

  // Return instances of the defined Checks.
  return [];
}