SilverShop\HasOneField\HasOneAddExistingAutoCompleter
Class GridFieldHasOneEditButton
Synopsis
class HasOneAddExistingAutoCompleter
extends GridFieldAddExistingAutocompleter
{
- // methods
- public array getHTMLFragments()
- public void handleAction()
Hierarchy
Extends
- SilverStripe\Forms\GridField\GridFieldAddExistingAutocompleter
Methods
public
- getHTMLFragments() — Check if a record has been set, if so, don't load the fields
- handleAction() — Overwrite default add to and inlude redirect