public function CsrfAccessCheck::__construct in Flag 8.4
CsrfAccessCheck constructor.
Parameters
\Drupal\Core\Access\CsrfAccessCheck $original:
File
- src/
Access/ CsrfAccessCheck.php, line 35
Class
- CsrfAccessCheck
- Proxy class to the core CSRF access chcker allowing anonymous requests.
Namespace
Drupal\flag\AccessCode
public function __construct(OrignalCsrfAccessCheck $original, AccountInterface $account) {
$this->original = $original;
$this->account = $account;
}