39 $context_names = $this->getContextNames($contexts);
41 return $factory->getRendererInContext($component, $context_names);
An exception for terminatinating execution or to throw for unit testing.
Loads renderers for components from the file system.
getRendererFactoryFor(Component $component)
@inheritdocs
getRendererFor(Component $component, array $contexts)
@inheritdocs
__construct(RendererFactory $default_renderer_factory)
$default_renderer_factory
A component is the most general form of an entity in the UI.
Loads renderers for components.
This is the interface that components should use if they want to load specific renderers.