28 $tpl_name =
"tpl.standard.html";
31 $action = $component->getAction();
32 $label = $component->getLabel();
33 if ($component->getOpenInNewViewport()) {
34 $tpl->touchBlock(
"open_in_new_viewport");
36 $tpl->setVariable(
"LABEL", $label);
renderStandard(Component\Link\Standard $component, RendererInterface $default_renderer)
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)
This implements commonalities between Links.
getComponentInterfaceName()
getTemplate($name, $purge_unfilled_vars, $purge_unused_blocks)
Get template of component this renderer is made for.
Base class for all component renderers.