19declare(strict_types=1);
23use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
42 $ui_notification_item = $item->getNotificationItem();
44 if ($item->hasClosedCallable()) {
48 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.
Class Notification The default Notification mapping currently to one UI Notification Item component.
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...
A component is the most general form of an entity in the UI.
withCloseAction(string $url)
Get an Item like this with an url to consulted async, when to close button is pressed.
Class ChatMainBarProvider \MainMenu\Provider.