allowing csv rendering for custom fields

This commit is contained in:
Marc Ducobu
2015-02-17 15:01:12 +01:00
parent 77247de990
commit 47a9a29236
7 changed files with 27 additions and 9 deletions

View File

@@ -90,7 +90,7 @@ class CustomFieldText implements CustomFieldInterface
));
}
public function render($value, CustomField $customField)
public function render($value, CustomField $customField, $documentType = 'html')
{
return $this->templating
->render('ChillCustomFieldsBundle:CustomFieldsRendering:text.html.twig', array('text' => $value));