19declare(strict_types=1);
36 $sign_file = [ilWACSignedPath::class,
'signFile']
38 $this->sign_file = Closure::fromCallable(
$sign_file);
55 $modal_content[] = $this->container->ui()->factory()->image()->responsive(
57 $content->
badge()->getTitle()
59 $modal_content[] = $this->container->ui()->factory()->divider()->horizontal();
60 $modal_content[] = $this->
item($content);
62 return $modal_content;
67 return $this->container
71 ->standard($content->
badge()->getTitle())
72 ->withDescription($content->
badge()->getDescription())
readonly Closure $sign_file
item(ModalContent $content)
ilBadgeImage $badge_image_service
__construct(private readonly Container $container, $sign_file=[ilWACSignedPath::class, 'signFile'])
components(ModalContent $content)
Customizing of pimple-DIC for ILIAS.
A component is the most general form of an entity in the UI.