3 declare(strict_types=1);
    20     $tc = $DIC->ui()->factory()->toast()->container();
    23         $DIC->ui()->factory()->toast()->standard(
    24             $DIC->ui()->factory()->link()->standard(
'Example', 
'https://www.ilias.de'),
    25             $DIC->ui()->factory()->symbol()->icon()->standard(
'info', 
'Test')
    29     $toasts = base64_encode($DIC->ui()->renderer()->renderAsync($toasts));
    30     $button = $DIC->ui()->factory()->button()->standard($DIC->language()->txt(
'show'), 
'');
    31     $button = $button->withAdditionalOnLoadCode(
function (
$id) use ($toasts) {
    32         return "$id.addEventListener('click', () => {    33             $id.parentNode.querySelector('.il-toast-container').innerHTML = atob('$toasts');    34             $id.parentNode.querySelector('.il-toast-container').querySelectorAll('script').forEach(element => {    35                 let newScript = document.createElement('script');    36                 newScript.innerHTML = element.innerHTML;    37                 element.parentNode.appendChild(newScript);    42     return $DIC->ui()->renderer()->render([$button,$tc]);
 
with_link_title()
 description: > Example for rendering a standard toast with a link title. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins