diff --git a/core/model/DataObject.php b/core/model/DataObject.php index 3ebf6c012..99317dbba 100644 --- a/core/model/DataObject.php +++ b/core/model/DataObject.php @@ -2910,6 +2910,16 @@ class DataObject extends ViewableData implements DataObjectInterface,i18nEntityP /** * Extra fields to include on the connecting many-many table. * This is a map from field name to field type. + * + * Example code: + * + * public static $many_many_extraFields = array( + * 'Members' => array( + * 'Role' => 'Varchar(100)' + * ) + * ); + * + * * @var array */ public static $many_many_extraFields = null;