ILIAS  release_8 Revision v8.23
base.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function base()
8 {
9  global $DIC;
10  $factory = $DIC->ui()->factory();
11  $renderer = $DIC->ui()->renderer();
12  $message = 'Are you sure you want to delete the following items?';
13  $form_action = $DIC->ctrl()->getFormActionByClass('ilsystemstyledocumentationgui');
14  $modal = $factory->modal()->interruptive('My Title', $message, $form_action);
15 
16  // Note: This modal is just rendered in the DOM but not displayed
17  // because its show/close signals are not triggered by any components
18  return $renderer->render($modal);
19 }
global $DIC
Definition: feed.php:28
$message
Definition: xapiexit.php:32
$factory
Definition: metadata.php:75