Feature #56123
Introduce MM_oppositeUsage property
Status: | Closed | Start date: | 2014-02-19 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Francois Suter | % Done: | 100% |
|
Category: | - | |||
Target version: | 6.2.0 |
Description
For group, select and inline types (all TCA types that support MM relations)
Description:
MM_oppositeUsage defines an array with maps table names to field names, pointing to possible opposite relations. Since the current relation allows any table, these pointers are checked on creating new MM relations and will apply the MM_match_fields from the accordant opposite configuration. TYPO3 CMS uses this for e.g. sys_category and tt_content relations.
Example:
...
'allowed' => '*',
'MM' => 'tx_myextension_first_second_mm',
'MM_oppositeUsage' => array(
'tt_content' => array('somefield'),
'tx_myextension_domain_model' => array('some_property'),
),
...
Related issues
Associated revisions
[FEATURE] Document MM_opposite_usage property
Add documentation for the new property MM_opposite_usage.
This applies to both select-type and group-type fields.
Resolves: #56123
Releases: 6.2
Change-Id: I9e6b76c5f1f8f6f84c2ec5914106f9c12011b555
Reviewed-on: https://review.typo3.org/27918
Reviewed-by: Oliver Hader
Reviewed-by: Francois Suter
Tested-by: Francois Suter
History
#1 Updated by Francois Suter over 1 year ago
- Status changed from New to Accepted
- Assigned To set to Francois Suter
#2 Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Documentation/TYPO3/Reference/Tca has been pushed to the review server.
It is available at https://review.typo3.org/27918
#3 Updated by Francois Suter over 1 year ago
Olly, this was quite a complicated feature to describe. Would you care to review my documentation patch to make sure it is fitting? Thanks in advance.
#4 Updated by Francois Suter over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 968ba8cc4346855ff7cf317248701bbef3c7a9a1.
#5 Updated by Francois Suter about 1 year ago
- Status changed from Resolved to Closed