You are here

public function VariableStoreRealmStore::__sleep in Variable 7.2

Implements 'magic' _sleep method.

If serialized, variables should not be saved, but rebuilt from store on wake up.

File

variable_store/variable_store.class.inc, line 43
Variable realm controller

Class

VariableStoreRealmStore
@file Variable realm controller

Code

public function __sleep() {
  return array(
    'realm',
    'key',
  );
}