public function VariableRealmDefaultController::isActive in Variable 7.2
Implementation of VariableRealmControllerInterface::isActive()
Overrides VariableRealmControllerInterface::isActive
3 calls to VariableRealmDefaultController::isActive()
- VariableRealmDefaultController::getCurrentStore in variable_realm/
variable_realm.class.inc - Implementation of VariableRealmControllerInterface::getCurrentStore().
- VariableRealmUnionController::variableRealmEnable in variable_realm/
variable_realm_union.class.inc - Implementation of VariableRealmHooks::variableRealmEnable()
- VariableRealmUnionController::variableRealmSwitch in variable_realm/
variable_realm_union.class.inc - Implementation of VariableRealmHooks::variableRealmSwitch()
File
- variable_realm/
variable_realm.class.inc, line 240 - Variable realm controller
Class
- VariableRealmDefaultController
- Base class, keeps static list of variables.
Code
public function isActive() {
return $this
->isEnabled() && $this->current_key !== FALSE;
}