SilverShop\HasOneField\GridFieldSummaryField::__construct
Setup this component
Signature
public function __construct(string
$name,
[string
$summaryField = "Title",
[string
$targetFragment = 'buttons-before-left']] )
Parameters
$name
— string- The name of the relation
$summaryField
— string- The field on the record to use for the summary
$targetFragment
— string- The location of this fragment