6 $f = $DIC->ui()->factory();
7 $renderer = $DIC->ui()->renderer();
9 $block = $f->panel()->standard(
11 $f->panel()->sub(
"Sub Panel Title", $f->legacy(
"Some Content"))
12 ->withCard($f->card(
"Card Heading")->withSections(
array($f->legacy(
"Card Content"))))
15 return $renderer->render($block);
Create styles array
The data for the language used.