Sunnysideup\CmsEditLinkField\Forms\Fields\CMSEditLinkField::__construct
Signature
public function __construct(string
$name,
string
$title,
null|DataObject
$linkedObject,
[string
$methodOrVariable = 'getTitle'] )
Parameters
$name
— string- e.g. MyLinkedObjectID
$title
— string- e.g. My Fancy Title
$linkedObject
— object- e.g. MyLinkedObject
$methodOrVariable
— string- (OPTIONAL) - e.g. MyFullTitle