3 declare(strict_types=1);
    11     $factory = $DIC->ui()->factory();
    12     $renderer = $DIC->ui()->renderer();
    13     $request = $DIC->http()->request();
    15     $submit_flag = 
'dropzone_wrapper_with_clear_button';
    16     $post_url = 
"{$request->getUri()}&$submit_flag";
    19         ->dropzone()->file()->wrapper(
    20             'Upload your files here',
    22             $factory->messageBox()->info(
'Drag and drop files onto me!'),
    23             $factory->input()->field()->file(
    29     $dropzone = $dropzone->withActionButtons([
    30         $factory->button()->standard(
'Clear files!', 
'#')->withOnClick($dropzone->getClearSignal())
    33     return $renderer->render($dropzone);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...