Sunnysideup\CMSNiceties\Forms\CMSNicetiesEasyRelationshipField::__construct
provides a generic Grid Field for Many Many relations.
Signature
public function __construct(DataObject
$callingObject,
string
$relationName )
Parameters
$callingObject
— object- Name of the Relationship - e.g. MyWidgets
$relationName
— string- Name of the Relationship - e.g. MyWidgets
Returns
- array