Go to the source code of this file.
◆ base()
Definition at line 2 of file base.php.
3{
6 $renderer =
$DIC->ui()->renderer();
7
8 $message =
'Here you see an interruptive Item:';
9 $icon =
$factory->image()->standard(
'./templates/default/images/icon_crs.svg',
'');
11 ->withAffectedItems(array(
13 10,
14 'Title of the Item',
15 $icon,
16 'Note, this item is currently only to be used in interruptive Modal.'
17 ),
19 20,
20 'Title of the other Item',
21 $icon,
22 'And another one.'
23 )
24
25 ));
26 $button =
$factory->button()->standard(
'Show an interruptive Item',
'')
27 ->withOnClick($modal->getShowSignal());
28
29
30 return $renderer->render([$button, $modal]);
31}
References $DIC, $factory, and $message.