You are here

public function VariableRealmDefaultController::setStore in Variable 7.2

Set store for realm key.

Overrides VariableRealmControllerInterface::setStore

1 call to VariableRealmDefaultController::setStore()
VariableRealmDefaultController::addStore in variable_realm/variable_realm.class.inc
Implementation of VariableRealmControllerInterface::addStore().

File

variable_realm/variable_realm.class.inc, line 293
Variable realm controller

Class

VariableRealmDefaultController
Base class, keeps static list of variables.

Code

public function setStore($realm_key, $realm_store) {
  $this->store[$realm_key] = $realm_store;
}