protected function Check::kernel in Security Review 8
Returns the Drupal Kernel.
Return value
\Drupal\Core\DrupalKernel Drupal Kernel.
File
- src/
Check.php, line 508
Class
- Check
- Defines a security check.
Namespace
Drupal\security_reviewCode
protected function kernel() {
return $this->container
->get('kernel');
}