PrivateKey::set

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);
}
doc_Drupal
2016-10-29 09:34:54
Comments
Leave a Comment

Please login to continue.