27 $label = $component->getLabel();
29 if ($label !== null) {
30 $tpl->setCurrentBlock(
"label");
31 $tpl->setVariable(
"LABEL", $label);
32 $tpl->parseCurrentBlock();
33 $tpl->touchBlock(
"with_label");
35 $tpl->touchBlock(
"divider");
checkComponent(Component $component)
Check if a given component fits this renderer and throw if that is not the case. ...
render(Component\Component $component, RendererInterface $default_renderer)
getComponentInterfaceName()
Create styles array
The data for the language used.
renderDivider(Component\Divider\Horizontal $component, RendererInterface $default_renderer)
getTemplate($name, $purge_unfilled_vars, $purge_unused_blocks)
Get template of component this renderer is made for.
Base class for all component renderers.