code: public function generateTitleMenu()
      {
          $menu = $this->owner->getHeaderMenu();
          if (empty($menu)) {
              return false;
          }
          $this->backgroundifyMenu($menu);
  
          return Nav::widget([
              'items' => $menu,
              'encodeLabels' => false,
              'options' => ['class' => 'pull-right nav-pills'],
          ]);
      }
docs: [[@doctodo method_description:generateTitleMenu]].
  
  @return [[@doctodo return_type:generateTitleMenu]] [[@doctodo return_description:generateTitleMenu]]