ILIAS  release_7 Revision v7.30-3-g800a261c036
TopLegacyItemRenderer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
32{
36 protected function getSpecificComponentForItem(isItem $item) : Component
37 {
42 return $this->ui->factory()->mainControls()->slate()->legacy(
43 $item->getTitle(),
44 $this->buildIcon($item),
45 $item->getLegacyContent()
46 );
47 }
48}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
ui()
Definition: ui.php:5