public PrivateKey::set($key)
Sets the private key.
Parameters
string $key: The private key to set.
File
- core/lib/Drupal/Core/PrivateKey.php, line 51
Class
- PrivateKey
- Manages the Drupal private key.
Namespace
Drupal\Core
Code
public function set($key) { return $this->state->set('system.private_key', $key); }
Please login to continue.