Add background images support to renderer [MAILPOET-1403]

This commit is contained in:
Rostislav Wolny
2018-07-16 17:05:22 +02:00
parent d8581f761f
commit c3e2b17aa1
3 changed files with 107 additions and 16 deletions

View File

@@ -103,8 +103,10 @@ class Renderer {
$content_block,
$column_count
);
$content_block_image = isset($content_block['image'])?$content_block['image']:null;
return $_this->columns_renderer->render(
$content_block['styles'],
$content_block_image,
$column_count,
$column_data
);