public function Checklist::__construct in Security Review 8
Constructs a Checklist instance.
Parameters
\Drupal\security_review\SecurityReview $security_review: The SecurityReview service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Session\AccountProxyInterface $current_user: The current user.
File
- src/
Checklist.php, line 48
Class
- Checklist
- Contains static functions for handling checks throughout every module.
Namespace
Drupal\security_reviewCode
public function __construct(SecurityReview $security_review, ModuleHandlerInterface $module_handler, AccountProxyInterface $current_user) {
$this->securityReview = $security_review;
$this->moduleHandler = $module_handler;
$this->currentUser = $current_user;
}