PrivateKey
class PrivateKey (View source)
Manages the Drupal private key.
Properties
| protected StateInterface | $state | The state service. |
Methods
string
get()
Gets the private key.
set(string $key)
Sets the private key.
string
create()
Creates a new private key.
Details
__construct(StateInterface $state)
Constructs the private key object.
string
get()
Gets the private key.
set(string $key)
Sets the private key.
protected string
create()
Creates a new private key.