You are here

public function VariableRealmDefaultController::getWeight in Variable 7.2

Implementation of VariableRealmControllerInterface::getWeight().

Overrides VariableRealmControllerInterface::getWeight

File

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

Class

VariableRealmDefaultController
Base class, keeps static list of variables.

Code

public function getWeight() {
  return isset($this->current_weight) ? $this->current_weight : $this->controller_data['weight'];
}