RendererFactoryInterface.php in Entity Print 8
Same filename and directory in other branches
Namespace
Drupal\entity_print\RendererFile
src/Renderer/RendererFactoryInterface.phpView source
<?php
namespace Drupal\entity_print\Renderer;
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');
}
Interfaces
Name | Description |
---|---|
RendererFactoryInterface |