4use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
26 $ui_notification_item = $item->getNotificationItem();
28 if ($item->hasClosedCallable()) {
32 return $ui_notification_item;
An exception for terminatinating execution or to throw for unit testing.
Class AbstractBaseNotificationRenderer.
buildCloseQuery(isItem $item)
Class StandardNotificationGroupRenderer.
getNotificationComponentForItem(isItem $item)
attachJSCloseEvent(Notification $ui_notification_item, isItem $item)
Attaches on load code for communicating back, that the notification has been closed.
Interface NotificationRenderer.
withCloseAction(string $url)
Get an Item like this with an url to consulted async, when to close button is pressed.