interface RendererFactoryInterface in Entity Print 8
Same name and namespace in other branches
- 8.2 src/Renderer/RendererFactoryInterface.php \Drupal\entity_print\Renderer\RendererFactoryInterface
Hierarchy
- interface \Drupal\entity_print\Renderer\RendererFactoryInterface
Expanded class hierarchy of RendererFactoryInterface
All classes that implement RendererFactoryInterface
1 file declares its use of RendererFactoryInterface
File
- src/
Renderer/ RendererFactoryInterface.php, line 5
Namespace
Drupal\entity_print\RendererView source
interface RendererFactoryInterface {
/**
* @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 | 1 |