1 | <?php |
||
13 | class FieldRenderingRuntime |
||
14 | { |
||
15 | public const FIELD_VIEW_SUFFIX = '_field'; |
||
16 | |||
17 | /** |
||
18 | * @var \Twig\Environment |
||
19 | */ |
||
20 | protected $environment; |
||
21 | |||
22 | /** |
||
23 | * @var \eZ\Publish\Core\MVC\ConfigResolverInterface |
||
24 | */ |
||
25 | protected $configResolver; |
||
26 | |||
27 | public function __construct(Environment $environment, ConfigResolverInterface $configResolver) |
||
32 | |||
33 | public function renderField(Collection $collection, Attribute $attribute): string |
||
44 | |||
45 | protected function getRenderFieldBlockName(Attribute $attribute): string |
||
51 | |||
52 | protected function getDefaultRenderFieldBlockName(): string |
||
56 | |||
57 | protected function getTemplate(): TemplateWrapper |
||
61 | } |
||
62 |