Add FieldDefinitions and CopyFieldDefinitions to casting property in order to render them as HTMLText

This commit is contained in:
Marco Hermo 2017-04-28 21:50:55 +12:00
parent 3160c066c0
commit 561550c538

View File

@ -35,6 +35,11 @@ abstract class SolrIndex extends SearchIndex
protected $templatesPath = null;
private static $casting = [
'FieldDefinitions' => 'HTMLText',
'CopyFieldDefinitions' => 'HTMLText'
];
/**
* List of boosted fields
*