/**
  * In addition to the main menu, this function renders the search form on top of the menu
  * @inheritdoc
  */
 protected function getMainMenuHtml($data)
 {
     $templateParser = new TemplateParser(__DIR__);
     $args = array('searchForm' => $this->getSearchForm($data));
     return $templateParser->processTemplate('searchForm', $args) . parent::getMainMenuHtml($data);
 }