33 $label = $component->getLabel();
35 if ($label !== null) {
36 $tpl->setCurrentBlock(
"label");
37 $tpl->setVariable(
"LABEL", $label);
38 $tpl->parseCurrentBlock();
39 $tpl->touchBlock(
"with_label");
41 $tpl->touchBlock(
"divider");
51 $tpl->touchBlock(
"divider");
61 return array(
Component\Divider\Horizontal::class
checkComponent(Component $component)
Check if a given component fits this renderer and throw if that is not the case. ...
renderDividerHorizontal(Component\Divider\Horizontal $component, RendererInterface $default_renderer)
renderDividerVertical(Component\Divider\Vertical $component, RendererInterface $default_renderer)
render(Component\Component $component, RendererInterface $default_renderer)
getComponentInterfaceName()
getTemplate($name, $purge_unfilled_vars, $purge_unused_blocks)
Get template of component this renderer is made for.
Base class for all component renderers.