ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
disabled_icon.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function disabled_icon()
8 {
9  global $DIC;
10  $f = $DIC->ui()->factory();
11  $renderer = $DIC->ui()->renderer();
12 
13  $buffer = array();
14 
15  $ico = $f->symbol()->icon()->standard('grp', 'Group', 'large', false);
16 
17  $buffer[] = $renderer->render($ico) . ' Large Group Enabled';
18  $buffer[] = $renderer->render($ico->withDisabled(true)) . ' Large Group Disabled';
19 
20  return implode('<br><br>', $buffer);
21 }
global $DIC
Definition: feed.php:28