public function PoptinController::__construct in Website Popups, Email Popup, Exit-Intent Popup, and Contact Forms – Poptin 8
Implements __construct().
File
- src/
Controller/ PoptinController.php, line 39
Class
- PoptinController
- Provides route responses for the Poptin module.
Namespace
Drupal\poptin\ControllerCode
public function __construct(CsrfTokenGenerator $csrf_token) {
global $base_url;
$this->baseUrlT = $base_url;
$this->tokenGenerator = $csrf_token;
}