You are here

protected function LanguageHierarchyI18nVariableLanguageRealm::createStore in Language Hierarchy 7

Create the store for this realm, passing in the parent store.

File

modules/i18n_variable_hierarchy/includes/i18n_variable_hierarchy.class.inc, line 30
Variable Realm controller.

Class

LanguageHierarchyI18nVariableLanguageRealm
Controller for Language realms, with support for language heirarchy.

Code

protected function createStore($realm_key, $variables = NULL) {
  $store = parent::createStore($realm_key, $variables);
  $store
    ->setParentStore($this
    ->getParentRealmStore($realm_key));
  return $store;
}