From 8117c59219e83a00451ec409111dfe0d8ae9b279 Mon Sep 17 00:00:00 2001 From: Andreas Neumann Date: Tue, 1 Mar 2016 15:01:54 +0100 Subject: [PATCH] [FEATURE] configurable content-wrapper-class --- plugins/twig/classes/HerbieExtension.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/twig/classes/HerbieExtension.php b/plugins/twig/classes/HerbieExtension.php index b54fd4e3..dba1a555 100644 --- a/plugins/twig/classes/HerbieExtension.php +++ b/plugins/twig/classes/HerbieExtension.php @@ -381,7 +381,10 @@ public function functionContent($segmentId = 0, $wrap = false) if (empty($wrap)) { return $content; } - return sprintf('
%s
', $segmentId, $content); + if(!$placeholderName = $this->config->get('twig.content_container_class')){ + $placeholderName = 'placeholder'; + } + return sprintf('
%s
', $segmentId, $content); } /**