SilverStripe Search

FluentDocumentExtension extends Extension
in package

Class Firesphere\SolrFluent\Extensions\FluentDocumentExtension

Update Documents per locale

Table of Contents

Properties

$owner  : DocumentFactory|FluentDocumentExtension

Methods

onBeforeAddDoc()  : void
Update the Solr field for the value to use the locale name

Properties

Methods

onBeforeAddDoc()

Update the Solr field for the value to use the locale name

public onBeforeAddDoc(array<string|int, mixed> &$field, string &$value) : void
Parameters
$field : array<string|int, mixed>
$value : string

        
On this page

Search results