19declare(strict_types=1);
40 private readonly Closure $content_as_component
49 $modal = $this->
ui->factory()->modal()->lightbox([
50 $this->
ui->factory()->modal()->lightboxTextPage(
51 $this->ui->renderer()->render(($this->content_as_component)($content)),
56 $link = $this->
ui->factory()->button()->shy($content->
title(),
'')->withOnClick(
57 $modal->getShowSignal()
Provides fluid interface to RBAC services.
create(DocumentContent $content)
__construct(private readonly UIServices $ui, private readonly Closure $content_as_component)
A component is the most general form of an entity in the UI.
Class ilChatroomConfigFileHandler \ILIAS\Chatroom\classes.