security_review_test.module in Security Review 8
Module that defines testable security checks for Security Review.
File
tests/modules/security_review_test/security_review_test.moduleView source
<?php
/**
* @file
* Module that defines testable security checks for Security Review.
*/
use Drupal\security_review_test\Test;
use Drupal\security_review_test\TestNoStore;
/**
* Implements hook_security_review_checks().
*/
function security_review_test_security_review_checks() {
return [
new Test(),
new TestNoStore(),
];
}
Functions
Name | Description |
---|---|
security_review_test_security_review_checks | Implements hook_security_review_checks(). |