SilverStripe solr Search

FluentSchemaExtension extends Extension
in package

Class \Firesphere\SolrFluent\Extensions\FluentSchemaExtension

Update the schema with the appropriate locale fields

Table of Contents

Properties

$owner  : SchemaFactory|FluentSchemaExtension

Methods

onAfterFieldDefinition()  : void
Add the locale fields

Properties

Methods

onAfterFieldDefinition()

Add the locale fields

public onAfterFieldDefinition(ArrayList|DataList $data, array<string|int, mixed> $item) : void
Parameters
$data : ArrayList|DataList

ArrayList to which the copy should be pushed

$item : array<string|int, mixed>

Item that's going to be altered per locale


        
On this page

Search results