public AjaxBasePageNegotiator::__construct(CsrfTokenGenerator $token_generator, ConfigFactoryInterface $config_factory, RequestStack $request_stack)
Constructs a new AjaxBasePageNegotiator.
\Drupal\Core\Access\CsrfTokenGenerator $token_generator: The CSRF token generator.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack used to retrieve the current request.
public function __construct(CsrfTokenGenerator $token_generator, ConfigFactoryInterface $config_factory, RequestStack $request_stack) { $this->csrfGenerator = $token_generator; $this->configFactory = $config_factory; $this->requestStack = $request_stack; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!AjaxBasePageNegotiator.php/function/AjaxBasePageNegotiator::__construct/8.1.x