function flickity_build in Flickity Carousel 8
Same name and namespace in other branches
- 8.2 theme/flickity.theme.inc \flickity_build()
- 3.0.x theme/flickity.theme.inc \flickity_build()
Returns the render array for Flickity wrapper.
1 call to flickity_build()
- flickity_pre_render_element in theme/
flickity.theme.inc - Pre render Flickity output.
File
- theme/
flickity.theme.inc, line 85 - flickity.theme.inc
Code
function flickity_build($group, $output) {
return array(
'#output' => $output,
'#attributes' => array(
'class' => array(
$group,
'flickity',
),
),
'#theme_wrappers' => array(
'flickity_wrapper',
),
);
}