I'm creating a little extension for list management / campaign tracking. It's very simple and is just a way of recording who is linked to each list, and what was sent to each list.
I have two entities: TargetList and Campaign.
Is it possible for an extension to append it's own entity onto the core entity definition in order to add extra functionality like this as extensions?
I want to have a many-to-many relationship between Contacts & TargetLists
Like this, but valid JSON
I have two entities: TargetList and Campaign.
Is it possible for an extension to append it's own entity onto the core entity definition in order to add extra functionality like this as extensions?
I want to have a many-to-many relationship between Contacts & TargetLists
Like this, but valid JSON
PHP Code:
{
"links": ["__APPEND__",
targetlists: {
type: hasMany,
entity: TargetList,
foreign: targets
}
]
}
Comment