public function SecuresiteSubscriber::__construct in Secure Site 8
Construct the SecuresiteSubscriber.
Parameters
\Drupal\securesite\SecuresiteManagerInterface $manager: The manager used to check for authentication.
File
- src/
EventSubscriber/ SecuresiteSubscriber.php, line 36 - Contains Drupal\securesite\EventSubscriber\SecuresiteSubscriber.
Class
- SecuresiteSubscriber
- Subscribes to the kernel request event to check whether authentication is required
Namespace
Drupal\securesite\EventSubscriberCode
public function __construct(SecuresiteManagerInterface $manager) {
$this->manager = $manager;
}