11 $ui =
$DIC->ui()->factory();
12 $renderer =
$DIC->ui()->renderer();
13 $request =
$DIC->http()->request();
25 $multi = $ui->input()->field()->multiselect(
"Take your picks", $options,
"This is the byline text")
29 $form = $ui->input()->container()->form()->standard(
'#', [
'multi' => $multi]);
32 if ($request->getMethod() ==
"POST") {
33 $form = $form->withRequest($request);
41 "<pre>" . print_r(
$result,
true) .
"</pre><br/>" .
42 $renderer->render($form);
An exception for terminatinating execution or to throw for unit testing.