You are here

public function LockrDrupal7SecretInfo::setSecretInfo in Lockr 7.3

Sets secret info for a secret by name.

Parameters

string $name:

array $info:

Overrides SecretInfoInterface::setSecretInfo

File

./lockr.secret_info.inc, line 31

Class

LockrDrupal7SecretInfo

Code

public function setSecretInfo($name, array $info) {
  $this->data[$name] = $info;
  variable_set('lockr_secret_info', $this->data);
}