t('Language'), 'controller class' => 'I18nVariableLanguageRealm', 'store class' => 'VariableStoreRealmStore', 'keys' => locale_language_list('name', TRUE), 'default key' => language_default('language'), 'options' => _i18n_variable_variable_realm_list(), 'select' => TRUE, 'select path' => 'admin/config/regional/i18n/variable', 'variable name' => t('multilingual'), 'variable class' => 'i18n-variable', 'form settings' => TRUE, ); return $realm; } /** * Allow other modules to act when enabling a realm. * * This hook is invoked right after the realm controller is enabled * and it may have a valid key already set or it may be FALSE. * * @param $realm_name * Realm that is switched. * @param $realm_key * New realm key. */ function hook_variable_realm_enable($realm_name, $realm_key) { } /** * Allow other modules to act on realm switching. * * This hook is invoked right after the realm key is switched but before * the global variables are rebuilt. * * @param $realm_name * Realm that is switched. * @param $realm_key * New realm key. */ function hook_variable_realm_switch($realm_name, $realm_key) { } /** * Allow other modules to act when rebuilding the configuration. * * This hook is invoked before the global variables are rebuilt * using the active realms. */ function hook_variable_realm_rebuild() { } /** * @} End of "addtogroup hooks". */