You are here

public function VariableRealmUnionController::start in Variable 7.2

Implementation of VariableRealmControllerInterface::start().

File

variable_realm/variable_realm_union.class.inc, line 25
Classes for Realm Union.

Class

VariableRealmUnionController
Default Realm Union class

Code

public function start($realm_key = NULL) {
  if (!isset($this->current_key)) {
    if (isset($realm_key)) {
      return $this->current_key = $realm_key;
    }
    elseif ($request_key = $this
      ->getRequestKey()) {
      return $this->current_key = $request_key;
    }
  }
}