source/Core/Module/ModuleVariablesLocator.php
public function setModuleVariable($name, $value)
    {
        if (is_null($value)) {
            self::$moduleVariables = null;
        } else {
            self::$moduleVariables[$name] = $value;
        }

        $this->getFileCache()->setToCache($name, $value);
    }
public function setModuleVariable($name, $value)
    {
        if (is_null($value)) {
            self::$moduleVariables = null;
        } else {
            self::$moduleVariables[$name] = $value;
        }

        $this->getFileCache()->setToCache($name, $value);
    }
public function setModuleVariable ( $ name , $ value ) { if ( is_null ( $ value ) ) { self :: $ moduleVariables = null ; } else { self :: $ moduleVariables [ $ name ] = $ value ; } $ this -> getFileCache ( ) -> setToCache ( $ name , $ value ) ; }
Sets module information variable. The variable is set statically and is not saved for future.

@param string $name  Configuration array name
@param array  $value Module name values
Sets module information variable . The variable is set statically and is not saved for future .