ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TopLegacyItemRenderer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
31{
35 protected function getSpecificComponentForItem(isItem $item): Component
36 {
41 return $this->ui->factory()->mainControls()->slate()->legacy(
42 $item->getTitle(),
43 $this->buildIcon($item),
44 $item->getLegacyContent()
45 );
46 }
47}
A component is the most general form of an entity in the UI.
Definition: Component.php:28