DocumentFactoryExtension
extends Extension
in package
Class \Firesphere\SolrPermissions\Extensions\DocumentFactoryExtension
Extension class to add the default MemberView field to the Solr document
Table of Contents
Properties
Methods
- updateDefaultFields() : mixed
- Add the MemberView status to the default fields
Properties
$owner
public
DocumentFactory|DocumentFactoryExtension
$owner
Methods
updateDefaultFields()
Add the MemberView status to the default fields
public
updateDefaultFields(DocumentInterface &$doc, DataObject|DataObjectExtension $item) : mixed
Parameters
- $doc : DocumentInterface
- $item : DataObject|DataObjectExtension