3 declare(strict_types=1);
26 return $this->
if->identifier(
'search');
35 return [$this->
getId()];
44 $content =
function () {
52 array(
"main_menu_gui" => $this,
"main_menu_search_gui" => $main_search)
54 if (!$uip->replaced()) {
55 $html = $main_search->getHTML();
58 return $this->dic->ui()->factory()->legacy($uip->getHTML($html));
64 ->topLegacyItem($this->
getId())
65 ->withLegacyContent($content())
66 ->withSymbol($this->dic->ui()->factory()->symbol()->glyph()->search())
67 ->withTitle($this->dic->language()->txt(
"search"))
69 ->withAvailableCallable(
Interface IdentificationInterface.
static _getSearchSettingRefId()
Read the ref_id of Search Settings object.