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();
59 fn(
$id) =>
'il.SearchMainMenu.init()' 66 ->topLegacyItem($this->
getId())
67 ->withLegacyContent($content())
68 ->withSymbol($this->dic->ui()->factory()->symbol()->glyph()->search())
69 ->withTitle($this->dic->language()->txt(
"search"))
71 ->withAvailableCallable(
Interface IdentificationInterface.
withAdditionalOnLoadCode(Closure $binder)
static _getSearchSettingRefId()
Read the ref_id of Search Settings object.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins