interface RendererFactoryInterface in Entity Print 8.2
Same name and namespace in other branches
- 8 src/Renderer/RendererFactoryInterface.php \Drupal\entity_print\Renderer\RendererFactoryInterface
The renderer factory inteface.
Hierarchy
- interface \Drupal\entity_print\Renderer\RendererFactoryInterface
Expanded class hierarchy of RendererFactoryInterface
All classes that implement RendererFactoryInterface
1 file declares its use of RendererFactoryInterface
- PrintBuilder.php in src/
PrintBuilder.php
File
- src/
Renderer/ RendererFactoryInterface.php, line 8
Namespace
Drupal\entity_print\RendererView source
interface RendererFactoryInterface {
/**
* Create a new entity renderer.
*
* @param mixed $item
* The item we require a renderer for.
* @param string $context
* The type, currently supports entities but could change in the future.
*
* @return \Drupal\entity_print\Renderer\RendererInterface
* The constructed renderer.
*/
public function create($item, $context = 'entity');
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RendererFactoryInterface:: |
public | function | Create a new entity renderer. | 1 |