You are here

public function VariableRealmDefaultController::addStore in Variable 7.2

Implementation of VariableRealmControllerInterface::addStore().

Overrides VariableRealmControllerInterface::addStore

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

File

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

Class

VariableRealmDefaultController
Base class, keeps static list of variables.

Code

public function addStore($realm_key, $variables = NULL) {
  $store = $this
    ->createStore($realm_key, $variables);
  $this
    ->setStore($realm_key, $store);
  return $store;
}