/** * Constructor initiliaze module menu * * @return \Zend\Http\Response|null */ protected function construct() { $result = parent::construct(); if (!empty($result)) { return $result; } $routeParams = $this->layout()->getVariable('routeParams'); $routeParams['module'] = 'gcmodule'; $this->layout()->setVariable('routeParams', $routeParams); }