ILIAS  release_7 Revision v7.30-3-g800a261c036
LinkItemRenderer.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 {
41 return $this->ui->factory()->link()->bulky(
42 $this->buildIcon($item),
43 $item->getTitle(),
44 $this->getURI($item->getAction())
45 );
46 }
47}
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