25 return $this->
if->identifier(
'search');
34 return [$this->
getId()];
43 $content =
function () {
51 array(
"main_menu_gui" => $this,
"main_menu_search_gui" => $main_search)
53 if (!$uip->replaced()) {
54 $html = $main_search->getHTML();
57 return $this->dic->ui()->factory()->legacy($uip->getHTML($html));
63 ->topLegacyItem($this->
getId())
64 ->withLegacyContent($content())
65 ->withSymbol($this->dic->ui()->factory()->symbol()->glyph()->search())
66 ->withTitle($this->dic->language()->txt(
"search"))
68 ->withAvailableCallable(
Interface IdentificationInterface.
static _getSearchSettingRefId()
Read the ref_id of Search Settings object.