public function VariableRealmDefaultController::getDefaultWeight in Variable 7.2
Implementation of VariableRealmControllerInterface::getWeight().
Overrides VariableRealmControllerInterface::getDefaultWeight
1 call to VariableRealmDefaultController::getDefaultWeight()
- VariableRealmDefaultController::__construct in variable_realm/
variable_realm.class.inc - Implementation of VariableRealmControllerInterface::__construct().
File
- variable_realm/
variable_realm.class.inc, line 341 - Variable realm controller
Class
- VariableRealmDefaultController
- Base class, keeps static list of variables.
Code
public function getDefaultWeight() {
return $this
->getRealmVariable('weight', $this
->getInfo('weight', 0));
}