35 $renderer = $this->loader->getRendererFor($component, $contexts);
36 $renderer->registerResources($this->resource_registry);
45 return $this->loader->getRendererFactoryFor($component);
An exception for terminatinating execution or to throw for unit testing.
Registers resources for retreived renderers at a ResourceRegistry.
getRendererFor(Component $component, array $contexts)
@inheritdocs
getRendererFactoryFor(Component $component)
@inheritdocs
__construct(ResourceRegistry $resource_registry, Loader $loader)
A component is the most general form of an entity in the UI.
Loads renderers for components.
Registry for resources required by rendered output like Javascript or CSS.