You are here

interface VariableRealmHooks in Variable 7.2

Variable Realm Hooks.

Hierarchy

Expanded class hierarchy of VariableRealmHooks

All classes that implement VariableRealmHooks

File

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

View source
interface VariableRealmHooks {

  /**
   * Callback function that will be invoked when a realm is enabled.
   */
  public function variableRealmEnable($realm_name, $realm_key);

  /**
   * Callback method that will be invoked when a realm is switched.
   */
  public function variableRealmSwitch($realm_name, $realm_key);

}

Members

Namesort descending Modifiers Type Description Overrides
VariableRealmHooks::variableRealmEnable public function Callback function that will be invoked when a realm is enabled. 1
VariableRealmHooks::variableRealmSwitch public function Callback method that will be invoked when a realm is switched. 1