public function RendererFactoryInterface::create in Entity Print 8
Same name and namespace in other branches
- 8.2 src/Renderer/RendererFactoryInterface.php \Drupal\entity_print\Renderer\RendererFactoryInterface::create()
Parameters
mixed $item: The item we require a renderer for.
string $context: The type, currently supports entities but could change in the future.
Return value
\Drupal\entity_print\Renderer\RendererInterface The constructed renderer.
1 method overrides RendererFactoryInterface::create()
- RendererFactory::create in src/
Renderer/ RendererFactory.php
File
- src/
Renderer/ RendererFactoryInterface.php, line 16
Class
Namespace
Drupal\entity_print\RendererCode
public function create($item, $context = 'entity');