19 declare(strict_types=1);
    35         private readonly 
Closure $content_as_component
    44         $modal = $this->
ui->factory()->modal()->lightbox([
    45             $this->
ui->factory()->modal()->lightboxTextPage(
    46                 $this->
ui->renderer()->render(($this->content_as_component)($content)),
    51         $link = $this->
ui->factory()->button()->shy($content->
title(), 
'')->withOnClick(
    52             $modal->getShowSignal()
    55         return [$link, $modal];
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Provides fluid interface to RBAC services. 
 
__construct(private readonly UIServices $ui, private readonly Closure $content_as_component)
 
create(DocumentContent $content)