PrivateKey::__construct(StateInterface $state)
Constructs the token generator.
Parameters
\Drupal\Core\State\StateInterface $state: The state service.
File
- core/lib/Drupal/Core/PrivateKey.php, line 26
Class
- PrivateKey
- Manages the Drupal private key.
Namespace
Drupal\Core
Code
function __construct(StateInterface $state) { $this->state = $state; }
Please login to continue.