original_string: protected function _prepareLayout()
      {
          $menu = [
              __d('installer', 'Welcome') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'language'],
                  'active' => ($this->request->action === 'language')
              ],
              __d('installer', 'System Requirements') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'requirements'],
                  'active' => ($this->request->action === 'requirements')
              ],
              __d('installer', 'License Agreement') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'license'],
                  'active' => ($this->request->action === 'license')
              ],
              __d('installer', 'Database Setup') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'database'],
                  'active' => ($this->request->action === 'database')
              ],
              __d('installer', 'Your Account') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'account'],
                  'active' => ($this->request->action === 'account')
              ],
              __d('installer', 'Finish') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'finish'],
                  'active' => ($this->request->action === 'finish')
              ],
          ];
  
          $this->set('menu', $menu);
      }
code: protected function _prepareLayout()
      {
          $menu = [
              __d('installer', 'Welcome') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'language'],
                  'active' => ($this->request->action === 'language')
              ],
              __d('installer', 'System Requirements') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'requirements'],
                  'active' => ($this->request->action === 'requirements')
              ],
              __d('installer', 'License Agreement') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'license'],
                  'active' => ($this->request->action === 'license')
              ],
              __d('installer', 'Database Setup') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'database'],
                  'active' => ($this->request->action === 'database')
              ],
              __d('installer', 'Your Account') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'account'],
                  'active' => ($this->request->action === 'account')
              ],
              __d('installer', 'Finish') => [
                  'url' => ['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'finish'],
                  'active' => ($this->request->action === 'finish')
              ],
          ];
  
          $this->set('menu', $menu);
      }
code_tokens: protected function _prepareLayout ( ) { $ menu = [ __d ( 'installer' , 'Welcome' ) => [ 'url' => [ 'plugin' => 'Installer' , 'controller' => 'startup' , 'action' => 'language' ] , 'active' => ( $ this -> request -> action === 'language' ) ] , __d ( 'installer' , 'System Requirements' ) => [ 'url' => [ 'plugin' => 'Installer' , 'controller' => 'startup' , 'action' => 'requirements' ] , 'active' => ( $ this -> request -> action === 'requirements' ) ] , __d ( 'installer' , 'License Agreement' ) => [ 'url' => [ 'plugin' => 'Installer' , 'controller' => 'startup' , 'action' => 'license' ] , 'active' => ( $ this -> request -> action === 'license' ) ] , __d ( 'installer' , 'Database Setup' ) => [ 'url' => [ 'plugin' => 'Installer' , 'controller' => 'startup' , 'action' => 'database' ] , 'active' => ( $ this -> request -> action === 'database' ) ] , __d ( 'installer' , 'Your Account' ) => [ 'url' => [ 'plugin' => 'Installer' , 'controller' => 'startup' , 'action' => 'account' ] , 'active' => ( $ this -> request -> action === 'account' ) ] , __d ( 'installer' , 'Finish' ) => [ 'url' => [ 'plugin' => 'Installer' , 'controller' => 'startup' , 'action' => 'finish' ] , 'active' => ( $ this -> request -> action === 'finish' ) ] , ] ; $ this -> set ( 'menu' , $ menu ) ; }
docstring: Sets some view-variables used across all steps.
  
  @return void
docstring_tokens: Sets some view - variables used across all steps .