19 declare(strict_types=1);
42 return $this->
if->identifier(
'search');
51 return [$this->
getId()];
60 $content =
function () {
66 "components/ILIAS/MainMenu",
68 array(
"main_menu_gui" => $this,
"main_menu_search_gui" => $main_search)
70 if (!$uip->replaced()) {
71 $html = $main_search->getHTML();
75 fn(
$id) =>
'il.SearchMainMenu.init()' 82 ->topLegacyItem($this->
getId())
83 ->withLegacyContent($content())
84 ->withSymbol($this->dic->ui()->factory()->symbol()->glyph()->search())
85 ->
withTitle($this->dic->language()->txt(
"search"))
87 ->withAvailableCallable(
Interface IdentificationInterface.
withAdditionalOnLoadCode(Closure $binder)
static _getSearchSettingRefId()
Read the ref_id of Search Settings object.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins