Go to the source code of this file.
◆ xl_card()
Definition at line 5 of file xl_card.php.
References $DIC, and array.
8 $f = $DIC->ui()->factory();
9 $renderer = $DIC->ui()->renderer();
11 $content = $f->listing()->descriptive(
13 "Entry 1" =>
"Some text",
14 "Entry 2" =>
"Some more text",
18 $image = $f->image()->responsive(
19 "./templates/default/images/HeaderIcon.svg",
"Thumbnail Example");
24 )->withSections(
array(
28 $deck = $f->deck(
array($card,$card,$card))
32 return $renderer->render($deck);
Create styles array
The data for the language used.